public enum PropertyType extends Enum<PropertyType>
Enum Constant and Description |
---|
BINARY |
BOOLEAN |
DATE |
DATETIME |
DECIMAL |
DOUBLE |
ENUM |
INTEGER |
LONG |
MANY_TO_MANY |
MANY_TO_ONE |
ONE_TO_MANY |
ONE_TO_ONE |
STRING |
TEXT |
TIME |
Modifier and Type | Method and Description |
---|---|
static PropertyType |
get(String value) |
static PropertyType |
valueOf(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 TEXT
public static final PropertyType BOOLEAN
public static final PropertyType INTEGER
public static final PropertyType LONG
public static final PropertyType DOUBLE
public static final PropertyType DECIMAL
public static final PropertyType DATE
public static final PropertyType TIME
public static final PropertyType DATETIME
public static final PropertyType BINARY
public static final PropertyType ENUM
public static final PropertyType ONE_TO_ONE
public static final PropertyType MANY_TO_ONE
public static final PropertyType ONE_TO_MANY
public static final PropertyType MANY_TO_MANY
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PropertyType get(String value)