| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HintValueConverter
Converts a given user-specified value to a target type consumable by the kernel. Used by hint processing.
| Nested Class Summary | |
|---|---|
| static class | HintValueConverter.EnumToIntegerConvert the enum value to an enumerated set of constants. | 
| static class | HintValueConverter.OpenJPAEnumToIntegerConverts an OpenJPA specific enum to an equivalent kernel constant. | 
| static class | HintValueConverter.StringToBoolean | 
| static class | HintValueConverter.StringToIntegerConverts a String to an integer. | 
| Method Summary | |
|---|---|
|  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. | 
| Method Detail | 
|---|
Object convert(Object original)
original - the user-specified value
IllegalArgumentException - if the given value can not be converted.boolean canConvert(Class<?> type)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||