程序包 com.walker.web

Enum Class OrgType

java.lang.Object
java.lang.Enum<OrgType>
com.walker.web.OrgType
所有已实现的接口:
Serializable, Comparable<OrgType>, Constable

public enum OrgType extends Enum<OrgType>
  • 枚举常量详细资料

    • Org

      public static final OrgType Org
      机构类型:独立单位(如:集团)
    • OrgSub

      public static final OrgType OrgSub
      子单位,即:独立单位下面的单位(从属)(如:分公司)
    • OrgFactory

      public static final OrgType OrgFactory
      分公司下的厂区。(如:工厂)
    • OrgSubFactory

      public static final OrgType OrgSubFactory
      厂区下分厂
    • Dept

      public static final OrgType Dept
      机构类型:部门,可以在任何机构节点下,即:任何单位分厂都会有部门。
    • All

      public static final OrgType 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

      public static OrgType[] 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

      public static OrgType valueOf(String name)
      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 name
      NullPointerException - 如果参数为空值
    • getType

      public static final OrgType getType(int index)
    • getTypeValue

      public int getTypeValue()
      返回机构类型值
      返回: