public enum PropertyType extends java.lang.Enum<PropertyType>
| Enum Constant and Description |
|---|
Boolean
The property is a boolean value.
|
DateTime
The property is a date time value.
|
Double
The property is a double value.
|
Number
The property is an integer value.
|
String
The property is a string value.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static PropertyType |
forValue(int value) |
int |
getValue() |
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 Number
public static final PropertyType Boolean
public static final PropertyType DateTime
public static final PropertyType String
public static final PropertyType Double
public static final int SIZE
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 int getValue()
public static PropertyType forValue(int value)