public enum PropertyType extends java.lang.Enum<PropertyType> implements EnumClass<java.lang.String>
Enum Constant and Description |
---|
BOOLEAN |
DATE |
DATE_WITHOUT_TIME |
DECIMAL |
DOUBLE |
ENTITY |
ENUMERATION |
INTEGER |
STRING |
Modifier and Type | Method and Description |
---|---|
static PropertyType |
fromId(java.lang.String id) |
java.lang.String |
getId() |
static PropertyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType STRING
public static final PropertyType INTEGER
public static final PropertyType DOUBLE
public static final PropertyType DECIMAL
public static final PropertyType DATE
public static final PropertyType DATE_WITHOUT_TIME
public static final PropertyType BOOLEAN
public static final PropertyType ENTITY
public static final PropertyType ENUMERATION
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType 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 static PropertyType fromId(java.lang.String id)