|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DataType>
gov.nih.nci.caarray.domain.data.DataType
public enum DataType
Enumerates the data types allowed for quantitation types.
Enum Constant Summary | |
---|---|
BOOLEAN
Values should be represented as Java boolean primitives. |
|
DOUBLE
Values should be represented as Java double primitives. |
|
FLOAT
Values should be represented as Java float primitives. |
|
INTEGER
Values should be represented as Java int primitives. |
|
LONG
Values should be represented as Java long primitives. |
|
SHORT
Values should be represented as Java short primitives. |
|
STRING
Values should be represented as Java Strings . |
Method Summary | |
---|---|
static DataType |
fromTypeClass(java.lang.Class<?> typeClass)
Returns the DataType enumeration value corresponding to the given type class. |
java.lang.String |
getName()
|
java.lang.Class<?> |
getTypeClass()
Returns the Java class that corresponds to the data type. |
static DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static 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 DataType BOOLEAN
boolean
primitives.
public static final DataType SHORT
short
primitives.
public static final DataType INTEGER
int
primitives.
public static final DataType LONG
long
primitives.
public static final DataType FLOAT
float
primitives.
public static final DataType DOUBLE
double
primitives.
public static final DataType STRING
Strings
.
Method Detail |
---|
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static 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 static DataType fromTypeClass(java.lang.Class<?> typeClass)
typeClass
- the type class
public java.lang.Class<?> getTypeClass()
public java.lang.String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |