public class EnumValueType<ValueType extends java.lang.Enum<ValueType>> extends OtherValueType<ValueType>
BeanValueType.Convertability, BeanValueType.MetaFactory
Modifier | Constructor and Description |
---|---|
protected |
EnumValueType(java.lang.Class<ValueType> valueType) |
Modifier and Type | Method and Description |
---|---|
BeanValueType.Convertability |
convertabilityFrom(java.lang.Object value) |
ValueType |
convertFrom(java.lang.Object value) |
protected java.lang.String |
doConvertToString(ValueType value) |
static <T extends java.lang.Enum<T>> |
registerEnumValueType(java.lang.Class<T> klass) |
getValueType, isAssignableFrom, registerOtherValueType
conversionException, convertabilityFrom, convertabilityToString, convertabilityToString, convertFrom, convertMapToJavascriptObject, convertToJava, convertToJavaScriptArray, convertToJavaScriptObject, convertToString, getBeanValueType, isA, isAssignableFrom, isAssignableFrom, nullValue, registerBasicValueTypes, registerBeanValueType, wrapInJavascriptArray
protected EnumValueType(java.lang.Class<ValueType> valueType)
public static <T extends java.lang.Enum<T>> void registerEnumValueType(java.lang.Class<T> klass)
public BeanValueType.Convertability convertabilityFrom(java.lang.Object value)
convertabilityFrom
in class OtherValueType<ValueType extends java.lang.Enum<ValueType>>
public ValueType convertFrom(java.lang.Object value)
convertFrom
in class OtherValueType<ValueType extends java.lang.Enum<ValueType>>
protected java.lang.String doConvertToString(ValueType value)
doConvertToString
in class BeanValueType<ValueType extends java.lang.Enum<ValueType>>