public static class HintValueConverter.OpenJPAEnumToInteger extends Object implements HintValueConverter
HintValueConverter.EnumToInteger, HintValueConverter.OpenJPAEnumToInteger, HintValueConverter.StringToBoolean, HintValueConverter.StringToInteger| Constructor and Description |
|---|
HintValueConverter.OpenJPAEnumToInteger(OpenJPAEnum<?> prototype) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class<?> type)
Affirm if this receiver can convert the value of the given type.
|
Object |
convert(Object e)
Convert the user-specified value to a kernel consumable value.
|
public HintValueConverter.OpenJPAEnumToInteger(OpenJPAEnum<?> prototype)
public Object convert(Object e)
HintValueConverterconvert in interface HintValueConvertere - the user-specified valuepublic boolean canConvert(Class<?> type)
HintValueConvertercanConvert in interface HintValueConverterCopyright © 2006–2017 Apache Software Foundation. All rights reserved.