org.apache.openjpa.persistence
Class HintValueConverter.StringToBoolean
java.lang.Object
   org.apache.openjpa.persistence.HintValueConverter.StringToBoolean
org.apache.openjpa.persistence.HintValueConverter.StringToBoolean
- All Implemented Interfaces: 
- HintValueConverter
- Enclosing interface:
- HintValueConverter
- public static class HintValueConverter.StringToBoolean 
- extends Object- implements HintValueConverter
 
 
 
| Method Summary | 
|  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.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HintValueConverter.StringToBoolean
public HintValueConverter.StringToBoolean()
convert
public Object convert(Object v)
- Description copied from interface: HintValueConverter
- Convert the user-specified value to a kernel consumable value.
 
- 
- Specified by:
- convertin interface- HintValueConverter
 
- 
- Parameters:
- v- the user-specified value
- Returns:
- an equivalent value consumable by a kernel construct.
 
canConvert
public boolean canConvert(Class<?> cls)
- Description copied from interface: HintValueConverter
- Affirm if this receiver can convert the value of the given type.
 
- 
- Specified by:
- canConvertin interface- HintValueConverter
 
- 
 
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.