com.liferay.portal.kernel.dao.orm
Enum Type
java.lang.Object
java.lang.Enum<Type>
com.liferay.portal.kernel.dao.orm.Type
- All Implemented Interfaces:
- Serializable, Comparable<Type>
public enum Type
- extends Enum<Type>
Method Summary |
static Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
BIG_DECIMAL
public static final Type BIG_DECIMAL
BIG_INTEGER
public static final Type BIG_INTEGER
BINARY
public static final Type BINARY
BLOB
public static final Type BLOB
BOOLEAN
public static final Type BOOLEAN
BYTE
public static final Type BYTE
CALENDAR
public static final Type CALENDAR
CALENDAR_DATE
public static final Type CALENDAR_DATE
CHAR_ARRAY
public static final Type CHAR_ARRAY
CHARACTER
public static final Type CHARACTER
CHARACTER_ARRAY
public static final Type CHARACTER_ARRAY
CLASS
public static final Type CLASS
CLOB
public static final Type CLOB
CURRENCY
public static final Type CURRENCY
DATE
public static final Type DATE
DOUBLE
public static final Type DOUBLE
FLOAT
public static final Type FLOAT
IMAGE
public static final Type IMAGE
INTEGER
public static final Type INTEGER
LOCALE
public static final Type LOCALE
LONG
public static final Type LONG
MATERIALIZED_BLOB
public static final Type MATERIALIZED_BLOB
MATERIALIZED_CLOB
public static final Type MATERIALIZED_CLOB
NUMERIC_BOOLEAN
public static final Type NUMERIC_BOOLEAN
SERIALIZABLE
public static final Type SERIALIZABLE
SHORT
public static final Type SHORT
STRING
public static final Type STRING
TEXT
public static final Type TEXT
TIME
public static final Type TIME
TIMESTAMP
public static final Type TIMESTAMP
TIMEZONE
public static final Type TIMEZONE
TRUE_FALSE
public static final Type TRUE_FALSE
URL
public static final Type URL
UUID_BINARY
public static final Type UUID_BINARY
UUID_CHAR
public static final Type UUID_CHAR
WRAPPER_BINARY
public static final Type WRAPPER_BINARY
YES_NO
public static final Type YES_NO
values
public static Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Type c : Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null