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)
HintValueConverter
convert
in interface HintValueConverter
e
- the user-specified valuepublic boolean canConvert(Class<?> type)
HintValueConverter
canConvert
in interface HintValueConverter
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.