|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiitb.con.core.DataType
public class DataType
DataTypes for the attributes.
Field Summary | |
---|---|
static short |
BOOL_SIZE
|
static byte |
BOOLEAN
Boolean data type |
static byte |
DOUBLE
Double data type |
static short |
DOUBLE_SIZE
|
static byte |
FLOAT
Float data type |
static short |
FLOAT_SIZE
|
static short |
INT_SIZE
|
static byte |
INTEGER
Integer data type |
static byte |
SHORT
Short data type |
static short |
SHORT_SIZE
Long data type |
static byte |
STRING
String data type |
static byte |
TIME
Date & Time data type |
static byte |
UNDEFINED
Undefined data type |
Constructor Summary | |
---|---|
DataType()
|
Method Summary | |
---|---|
static java.lang.String |
getDataTypeString(byte dataType)
Return the data type string |
static java.lang.Object |
getDataValue(byte dataType,
java.lang.String value)
Returns the data type wrapper object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static short BOOL_SIZE
public static final byte BOOLEAN
public static final byte DOUBLE
public static short DOUBLE_SIZE
public static final byte FLOAT
public static short FLOAT_SIZE
public static short INT_SIZE
public static final byte INTEGER
public static final byte SHORT
public static short SHORT_SIZE
public static final byte STRING
public static final byte TIME
public static final byte UNDEFINED
Constructor Detail |
---|
public DataType()
Method Detail |
---|
public static java.lang.String getDataTypeString(byte dataType)
dataType
- byte representation of data type
public static java.lang.Object getDataValue(byte dataType, java.lang.String value)
dataType
- byte representation of data typevalue
- data type value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |