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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description int
getCode()
static EntitySpecAttrType
getEntitySpecAttrType(int code)
java.lang.String
getGuiTitle()
Строка - имя объекта.java.lang.String
getTypeName()
java.lang.String
getTypeTitle()
void
setCode(int code)
void
setTypeName(java.lang.String typeName)
void
setTypeTitle(java.lang.String typeTitle)
java.lang.String
toString()
static EntitySpecAttrType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EntitySpecAttrType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
SEPARATOR
-
UNKNOWN
-
TEXT
-
INT
-
BOOLEAN
-
LIST
-
DATE
-
PERIOD
-
HOUSE
-
ADDRESS
-
EMAIL
-
PHONE
-
MULTILIST
-
LONG
-
ENTITY
-
CONTRACT
-
SERVICING_PERSON
-
-
Method Details
-
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
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 namejava.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 classjava.lang.Enum<EntitySpecAttrType>
-
getGuiTitle
public java.lang.String getGuiTitle()Description copied from interface:GuiTitlable
Строка - имя объекта. Скорее всего уникальная. Используется в комбобоксах, например, итд.- Specified by:
getGuiTitle
in interfaceGuiTitlable
- Returns:
- Строка - представление объекта.
-
getEntitySpecAttrType
-