| |
|
| java.lang.Object org.jaffa.datatypes.Defaults
Defaults | public class Defaults (Code) | | This class has the various supported datatypes.
|
Method Summary | |
public static Class | getClass(String key) Returns the Class object for a logicalDataType.
Parameters: key - the logicalDataType. | public static String | getClassString(String key) Returns the className for a logicalDataType.
Parameters: key - the logicalDataType. | public static String | getDataType(Object obj) Returns logicalDataType for an object.
NOTE: If more than one datatype utilises the same JAVA class, then any one of them will be returned.
Parameters: obj - the object whose datatype is to be determined. | public static String | getDataType(String clazz) Returns logicalDataType for an specified java class.
NOTE: If more than one datatype utilises the same JAVA class, then any one of them will be returned.
Parameters: obj - the object whose datatype is to be determined. |
BLOB | final public static String BLOB(Code) | | A constant for the blob datatype
|
BOOLEAN | final public static String BOOLEAN(Code) | | A constant for the boolean datatype
|
CLOB | final public static String CLOB(Code) | | A constant for the clob datatype
|
CURRENCY | final public static String CURRENCY(Code) | | A constant for the currency datatype
|
DATEONLY | final public static String DATEONLY(Code) | | A constant for the date datatype
|
DATETIME | final public static String DATETIME(Code) | | A constant for the datetime datatype
|
DECIMAL | final public static String DECIMAL(Code) | | A constant for the decimal datatype
|
INTEGER | final public static String INTEGER(Code) | | A constant for the integer datatype
|
LONG_RAW | final public static String LONG_RAW(Code) | | A constant for the long-raw datatype
|
LONG_STRING | final public static String LONG_STRING(Code) | | A constant for the long-string datatype
|
RAW | final public static String RAW(Code) | | A constant for the raw datatype
|
STRING | final public static String STRING(Code) | | A constant for the string datatype
|
getClass | public static Class getClass(String key)(Code) | | Returns the Class object for a logicalDataType.
Parameters: key - the logicalDataType. the Class object for a logicalDataType. |
getClassString | public static String getClassString(String key)(Code) | | Returns the className for a logicalDataType.
Parameters: key - the logicalDataType. the className for a logicalDataType. |
getDataType | public static String getDataType(Object obj)(Code) | | Returns logicalDataType for an object.
NOTE: If more than one datatype utilises the same JAVA class, then any one of them will be returned.
Parameters: obj - the object whose datatype is to be determined. logicalDataType for an object. |
getDataType | public static String getDataType(String clazz)(Code) | | Returns logicalDataType for an specified java class.
NOTE: If more than one datatype utilises the same JAVA class, then any one of them will be returned.
Parameters: obj - the object whose datatype is to be determined. logicalDataType for an object. |
|
|
|