public enum PropertyBaseType extends Enum<PropertyBaseType>
Enum Constant and Description |
---|
BOOLEAN |
DATE |
ELEMENT |
ENUMERATE |
FLOAT |
INTEGER |
RICHTEXT |
STRING |
TEXT |
TIME |
UNSIGNED |
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN_VALUE |
static int |
DATE_VALUE |
static int |
ELEMENT_VALUE |
static int |
ENUMERATE_VALUE |
static int |
FLOAT_VALUE |
static int |
INTEGER_VALUE |
static int |
RICHTEXT_VALUE |
static int |
STRING_VALUE |
static int |
TEXT_VALUE |
static int |
TIME_VALUE |
static int |
UNSIGNED_VALUE |
static List<PropertyBaseType> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static PropertyBaseType |
get(int value) |
static PropertyBaseType |
get(String literal) |
static PropertyBaseType |
getByName(String name) |
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString() |
static PropertyBaseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyBaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyBaseType STRING
public static final PropertyBaseType TEXT
public static final PropertyBaseType BOOLEAN
public static final PropertyBaseType INTEGER
public static final PropertyBaseType UNSIGNED
public static final PropertyBaseType FLOAT
public static final PropertyBaseType ENUMERATE
public static final PropertyBaseType DATE
public static final PropertyBaseType TIME
public static final PropertyBaseType ELEMENT
public static final PropertyBaseType RICHTEXT
public static final int STRING_VALUE
public static final int TEXT_VALUE
public static final int BOOLEAN_VALUE
public static final int INTEGER_VALUE
public static final int UNSIGNED_VALUE
public static final int FLOAT_VALUE
public static final int ENUMERATE_VALUE
public static final int DATE_VALUE
public static final int TIME_VALUE
public static final int ELEMENT_VALUE
public static final int RICHTEXT_VALUE
public static final List<PropertyBaseType> VALUES
public static PropertyBaseType[] values()
for (PropertyBaseType c : PropertyBaseType.values()) System.out.println(c);
public static PropertyBaseType 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 PropertyBaseType get(String literal)
public static PropertyBaseType getByName(String name)
public static PropertyBaseType get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<PropertyBaseType>