Modifier and Type | Class and Description |
---|---|
class |
DefaultDataType.LinkedCoercions |
Modifier and Type | Method and Description |
---|---|
void |
addCoercion(DataTypesManager.Coercion coercion) |
Object |
coerce(Object value) |
DataTypesManager.Coercion |
getCoercion() |
Class |
getDefaultClass() |
String |
getName() |
String |
getSubtype() |
int |
getType() |
boolean |
isContainer() |
boolean |
isDynObject() |
boolean |
isNumeric() |
boolean |
isObject() |
void |
setCoercion(DataTypesManager.Coercion coercion) |
String |
toString() |
public Object coerce(Object value) throws CoercionException
coerce
in interface DataType
CoercionException
public DataTypesManager.Coercion getCoercion()
getCoercion
in interface DataType
public Class getDefaultClass()
getDefaultClass
in interface DataType
public String getSubtype()
getSubtype
in interface DataType
public boolean isContainer()
isContainer
in interface DataType
public boolean isDynObject()
isDynObject
in interface DataType
public void setCoercion(DataTypesManager.Coercion coercion)
setCoercion
in interface DataType
public void addCoercion(DataTypesManager.Coercion coercion)
addCoercion
in interface DataType