org.kuali.rice.kns.util
Class OjbCharBooleanFieldAIConversion
java.lang.Object
org.kuali.rice.kns.util.OjbCharBooleanFieldAIConversion
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.accesslayer.conversions.FieldConversion
public class OjbCharBooleanFieldAIConversion
- extends Object
- implements org.apache.ojb.broker.accesslayer.conversions.FieldConversion
This class converts the "A" or "I" value from the database into a true or false in Java.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRUE
private static final String TRUE
- See Also:
- Constant Field Values
FALSE
private static final String FALSE
- See Also:
- Constant Field Values
OjbCharBooleanFieldAIConversion
public OjbCharBooleanFieldAIConversion()
javaToSql
public Object javaToSql(Object source)
- Specified by:
javaToSql
in interface org.apache.ojb.broker.accesslayer.conversions.FieldConversion
- See Also:
FieldConversion.javaToSql(java.lang.Object)
sqlToJava
public Object sqlToJava(Object source)
- Specified by:
sqlToJava
in interface org.apache.ojb.broker.accesslayer.conversions.FieldConversion
- See Also:
FieldConversion.sqlToJava(java.lang.Object)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.