public enum EntitySpecAttrType extends java.lang.Enum<EntitySpecAttrType>
Enum Constant and Description |
---|
ADDRESS |
BOOLEAN |
CONTRACT |
DATE |
EMAIL |
ENTITY |
HOUSE |
INT |
LIST |
LONG |
MULTILIST |
PERIOD |
PHONE |
TEXT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static EntitySpecAttrType |
getEntitySpecAttrType(int code) |
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.
|
public static final EntitySpecAttrType UNKNOWN
public static final EntitySpecAttrType TEXT
public static final EntitySpecAttrType INT
public static final EntitySpecAttrType BOOLEAN
public static final EntitySpecAttrType LIST
public static final EntitySpecAttrType DATE
public static final EntitySpecAttrType PERIOD
public static final EntitySpecAttrType HOUSE
public static final EntitySpecAttrType ADDRESS
public static final EntitySpecAttrType EMAIL
public static final EntitySpecAttrType PHONE
public static final EntitySpecAttrType MULTILIST
public static final EntitySpecAttrType LONG
public static final EntitySpecAttrType ENTITY
public static final EntitySpecAttrType CONTRACT
public static EntitySpecAttrType[] values()
for (EntitySpecAttrType c : EntitySpecAttrType.values()) System.out.println(c);
public static EntitySpecAttrType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
public void setCode(int code)
public java.lang.String getTypeName()
public void setTypeName(java.lang.String typeName)
public java.lang.String getTypeTitle()
public void setTypeTitle(java.lang.String typeTitle)
public java.lang.String toString()
toString
in class java.lang.Enum<EntitySpecAttrType>
public static EntitySpecAttrType getEntitySpecAttrType(int code)