Enum EntitySpecAttrType

java.lang.Object
java.lang.Enum<EntitySpecAttrType>
ru.bitel.oss.kernel.entity.common.bean.EntitySpecAttrType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EntitySpecAttrType>, java.lang.constant.Constable, GuiTitlable

public enum EntitySpecAttrType
extends java.lang.Enum<EntitySpecAttrType>
implements GuiTitlable
  • Enum Constant Details

  • Method Details

    • values

      public static EntitySpecAttrType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EntitySpecAttrType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • setCode

      public void setCode​(int code)
    • getTypeName

      public java.lang.String getTypeName()
    • setTypeName

      public void setTypeName​(java.lang.String typeName)
    • getTypeTitle

      public java.lang.String getTypeTitle()
    • setTypeTitle

      public void setTypeTitle​(java.lang.String typeTitle)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Enum<EntitySpecAttrType>
    • getGuiTitle

      public java.lang.String getGuiTitle()
      Description copied from interface: GuiTitlable
      Строка - имя объекта. Скорее всего уникальная. Используется в комбобоксах, например, итд.
      Specified by:
      getGuiTitle in interface GuiTitlable
      Returns:
      Строка - представление объекта.
    • getEntitySpecAttrType

      public static EntitySpecAttrType getEntitySpecAttrType​(int code)