public interface HintValueConverter
Modifier and Type | Interface and Description |
---|---|
static class |
HintValueConverter.EnumToInteger
Convert the enum value to an enumerated set of constants.
|
static class |
HintValueConverter.OpenJPAEnumToInteger
Converts an OpenJPA specific enum to an equivalent kernel constant.
|
static class |
HintValueConverter.StringToBoolean |
static class |
HintValueConverter.StringToInteger
Converts a String to an integer.
|
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 original)
Convert the user-specified value to a kernel consumable value.
|
Object convert(Object original)
original
- the user-specified valueIllegalArgumentException
- if the given value can not be converted.boolean canConvert(Class<?> type)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.