|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<WabitPersister.DataType>
ca.sqlpower.wabit.dao.WabitPersister.DataType
public static enum WabitPersister.DataType
Defines each type of object that can be persisted by the WabitPersister. Each object type can be converted to a simple type based on its name.
| Enum Constant Summary | |
|---|---|
BOOLEAN
|
|
DOUBLE
|
|
INTEGER
|
|
NULL
|
|
PNG_IMG
|
|
REFERENCE
This is a Wabit object reference. |
|
STRING
|
|
| Method Summary | |
|---|---|
java.lang.Class |
getRepresentation()
|
static WabitPersister.DataType |
getTypeByClass(java.lang.Class<?> lookupValue)
Returns a DataType that represents the given class type. |
java.lang.String |
getTypeName()
|
static WabitPersister.DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WabitPersister.DataType[] |
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 WabitPersister.DataType STRING
public static final WabitPersister.DataType INTEGER
public static final WabitPersister.DataType DOUBLE
public static final WabitPersister.DataType BOOLEAN
public static final WabitPersister.DataType REFERENCE
public static final WabitPersister.DataType PNG_IMG
public static final WabitPersister.DataType NULL
| Method Detail |
|---|
public static WabitPersister.DataType[] values()
for (WabitPersister.DataType c : WabitPersister.DataType.values()) System.out.println(c);
public static WabitPersister.DataType 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 name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getTypeName()
public java.lang.Class getRepresentation()
public static WabitPersister.DataType getTypeByClass(java.lang.Class<?> lookupValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||