public class DataType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static DataType |
Binary |
static DataType |
Boolean |
static DataType |
Byte |
static DataType |
DateTime |
static DataType |
DateTimeOffset |
static DataType |
Decimal |
static DataType |
Double |
static DataType |
Guid |
static DataType |
Int16 |
static DataType |
Int32 |
static DataType |
Int64 |
static DataType |
Single |
static DataType |
String |
static DataType |
Time |
Constructor and Description |
---|
DataType(java.lang.String name) |
DataType(java.lang.String name,
java.lang.Class clazz) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
coerceData(java.lang.Object value,
DataType dataType) |
static DataType |
fromClass(java.lang.Class clazz) |
static DataType |
fromName(java.lang.String name) |
java.lang.Class |
getJavaClass() |
java.lang.String |
getName() |
public static final DataType Binary
public static final DataType Guid
public static final DataType String
public static final DataType DateTime
public static final DataType DateTimeOffset
public static final DataType Time
public static final DataType Byte
public static final DataType Int16
public static final DataType Int32
public static final DataType Int64
public static final DataType Boolean
public static final DataType Decimal
public static final DataType Double
public static final DataType Single
public DataType(java.lang.String name)
public DataType(java.lang.String name, java.lang.Class clazz)
public java.lang.String getName()
public java.lang.Class getJavaClass()
public static DataType fromName(java.lang.String name)
public static DataType fromClass(java.lang.Class clazz)
public static java.lang.Object coerceData(java.lang.Object value, DataType dataType)