public enum EBaseType extends Enum<EBaseType> implements IHasID<String>
| Enum Constant and Description |
|---|
BOOLEAN
boolean: true or false
|
BYTE_ARRAY
byte array
|
DATE
date
|
DATETIME
date and time
|
DOUBLE
double
|
INT
integer
|
MTEXT
multilingual text
|
TEXT
string
|
TIME
time
|
XML
xml
|
| Modifier and Type | Method and Description |
|---|---|
static EBaseType |
getFromIDOrNull(String sID) |
String |
getID()
Get the unique ID of this object.
|
static EBaseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EBaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EBaseType BOOLEAN
public static final EBaseType BYTE_ARRAY
public static final EBaseType DATE
public static final EBaseType DATETIME
public static final EBaseType DOUBLE
public static final EBaseType INT
public static final EBaseType MTEXT
public static final EBaseType TEXT
public static final EBaseType TIME
public static final EBaseType XML
public static EBaseType[] values()
for (EBaseType c : EBaseType.values()) System.out.println(c);
public static EBaseType 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 null@Nonnull @Nonempty public String getID()
IHasIDString than the
returned value must match an XML NMToken expression (so e.g. no ':' in the
ID)!Copyright © 2014–2015 Philip Helger. All rights reserved.