程序包 com.walker.web
Enum Class OrgType
- 所有已实现的接口:
Serializable,Comparable<OrgType>,Constable
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明机构类型:所有,部门 + 单位机构类型:部门,可以在任何机构节点下,即:任何单位分厂都会有部门。机构类型:独立单位(如:集团)分公司下的厂区。子单位,即:独立单位下面的单位(从属)(如:分公司)厂区下分厂 -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final intstatic final int -
方法概要
-
枚举常量详细资料
-
Org
机构类型:独立单位(如:集团) -
OrgSub
子单位,即:独立单位下面的单位(从属)(如:分公司) -
OrgFactory
分公司下的厂区。(如:工厂) -
OrgSubFactory
厂区下分厂 -
Dept
机构类型:部门,可以在任何机构节点下,即:任何单位分厂都会有部门。 -
All
机构类型:所有,部门 + 单位
-
-
字段详细资料
-
TYPE_ORG
public static final int TYPE_ORG- 另请参阅:
-
TYPE_ORG_SUB
public static final int TYPE_ORG_SUB- 另请参阅:
-
TYPE_ORG_FACTORY
public static final int TYPE_ORG_FACTORY- 另请参阅:
-
TYPE_ORG_FACTORY_SUB
public static final int TYPE_ORG_FACTORY_SUB- 另请参阅:
-
TYPE_DEPT
public static final int TYPE_DEPT- 另请参阅:
-
TYPE_ALL
public static final int TYPE_ALL- 另请参阅:
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getType
-
getTypeValue
public int getTypeValue()返回机构类型值- 返回:
-