public class DataType extends ConstantObject
PropertyValue
and ConfigItemType
.PropertyValue
,
ConfigItemType
Modifier and Type | Field and Description |
---|---|
static DataType |
TYPE_BINARY
Represents binary (e.g.,
byte[] ) data. |
static int |
TYPE_BINARY_AS_INT |
static DataType |
TYPE_BOOLEAN
Represents
boolean data. |
static int |
TYPE_BOOLEAN_AS_INT |
static DataType |
TYPE_DATE
Represents
Calendar data. |
static int |
TYPE_DATE_AS_INT |
static DataType |
TYPE_DOUBLE
Represents
double data. |
static int |
TYPE_DOUBLE_AS_INT |
static DataType |
TYPE_GUID
Represents
GUID data. |
static int |
TYPE_GUID_AS_INT |
static DataType |
TYPE_INTEGER
Represents
int data. |
static int |
TYPE_INTEGER_AS_INT |
static DataType |
TYPE_OBJECT
Represents
ObjectReference data. |
static int |
TYPE_OBJECT_AS_INT |
static DataType |
TYPE_STRING
Represents
String data. |
static int |
TYPE_STRING_AS_INT |
Modifier and Type | Method and Description |
---|---|
static DataType |
fromInteger(int dataTypeAsInt)
Returns appropriate
DataType instance based upon
its corresponding integer value. |
static DataType |
fromObjectIdent(java.lang.Object ident)
Returns appropriate
DataType instance based upon
its an identifying Integer or String . |
getEnumeratedList, getIntValue, getLocalizedStringValue, getLocalizedStringValue, getStringValue
public static final int TYPE_BINARY_AS_INT
public static final DataType TYPE_BINARY
byte[]
) data.public static final int TYPE_BOOLEAN_AS_INT
public static final DataType TYPE_BOOLEAN
boolean
data.public static final int TYPE_DATE_AS_INT
public static final DataType TYPE_DATE
Calendar
data.public static final int TYPE_DOUBLE_AS_INT
public static final DataType TYPE_DOUBLE
double
data.public static final int TYPE_GUID_AS_INT
public static final int TYPE_INTEGER_AS_INT
public static final DataType TYPE_INTEGER
int
data.public static final int TYPE_OBJECT_AS_INT
public static final DataType TYPE_OBJECT
ObjectReference
data.public static final int TYPE_STRING_AS_INT
public static final DataType TYPE_STRING
String
data.public static DataType fromObjectIdent(java.lang.Object ident)
DataType
instance based upon
its an identifying Integer
or String
.ident
- Integer
or String
integer.DataType
instance or null
if none found.public static DataType fromInteger(int dataTypeAsInt)
DataType
instance based upon
its corresponding integer
value.dataTypeAsInt
- the corresponding integer
value.DataType
instance or null
if none found.© Copyright IBM Corp. 2006, 2013. All Rights Reserved.