|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FieldType>
org.sourceforge.jemm.database.FieldType
public enum FieldType
The valid field types within JEMM
Enum Constant Summary | |
---|---|
BOOLEAN
A boolean field. |
|
BOOLEAN_ARRAY
boolean array type |
|
BYTE
A byte field. |
|
BYTE_ARRAY
byte array type |
|
CHAR
A char field. |
|
CHAR_ARRAY
char array type |
|
DOUBLE
A double field. |
|
DOUBLE_ARRAY
double array type |
|
FLOAT
A float field. |
|
FLOAT_ARRAY
float array type |
|
INT
An int field. |
|
INT_ARRAY
int array type |
|
LONG
A long field. |
|
LONG_ARRAY
long array type |
|
OBJECT
An reference field. |
|
OBJECT_ARRAY
object array type |
|
SERIALIZABLE
An immutable, serializable value type (e.g. |
|
SHORT
A char field. |
|
SHORT_ARRAY
short array type |
Method Summary | |
---|---|
static FieldType |
convert(java.lang.Class<?> clazz)
|
static boolean |
isObjectPrimitive(java.lang.Class<?> clazz)
|
static boolean |
isPrimitive(FieldType type)
|
static FieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FieldType[] |
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 FieldType BOOLEAN
public static final FieldType BYTE
public static final FieldType CHAR
public static final FieldType SHORT
public static final FieldType INT
public static final FieldType FLOAT
public static final FieldType LONG
public static final FieldType DOUBLE
public static final FieldType SERIALIZABLE
public static final FieldType OBJECT
public static final FieldType BOOLEAN_ARRAY
public static final FieldType BYTE_ARRAY
public static final FieldType CHAR_ARRAY
public static final FieldType SHORT_ARRAY
public static final FieldType INT_ARRAY
public static final FieldType FLOAT_ARRAY
public static final FieldType LONG_ARRAY
public static final FieldType DOUBLE_ARRAY
public static final FieldType OBJECT_ARRAY
Method Detail |
---|
public static FieldType[] values()
for (FieldType c : FieldType.values()) System.out.println(c);
public static FieldType 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 static FieldType convert(java.lang.Class<?> clazz)
public static boolean isPrimitive(FieldType type)
public static boolean isObjectPrimitive(java.lang.Class<?> clazz)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |