|
com.im.commons.db 5.9.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<GenericColumnType>
com.im.commons.db.ddl.GenericColumnType
public enum GenericColumnType
Generic database column types.
| Enum Constant Summary | |
|---|---|
BINARY
|
|
BOOLEAN
|
|
CALCULATED
Experimental type - might be removed in the future. |
|
DATE
|
|
FLOAT
|
|
INTEGER
|
|
TEXT
|
|
URL
Will be removed in the future. |
|
| Method Summary | |
|---|---|
String |
getDisplayName()
|
String |
getId()
|
static GenericColumnType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GenericColumnType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GenericColumnType INTEGER
public static final GenericColumnType FLOAT
public static final GenericColumnType TEXT
public static final GenericColumnType BOOLEAN
public static final GenericColumnType DATE
public static final GenericColumnType BINARY
public static final GenericColumnType URL
public static final GenericColumnType CALCULATED
| Method Detail |
|---|
public static GenericColumnType[] values()
for (GenericColumnType c : GenericColumnType.values()) System.out.println(c);
public static GenericColumnType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getId()
public String getDisplayName()
|
com.im.commons.db 5.9.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||