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