org.kuali.rice.core.framework.persistence.ojb.conversion
Class OjbCharBooleanConversionAI

java.lang.Object
  extended by org.kuali.rice.core.framework.persistence.ojb.conversion.OjbCharBooleanConversionAI
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.accesslayer.conversions.FieldConversion

public class OjbCharBooleanConversionAI
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

Constructor Summary
OjbCharBooleanConversionAI()
           
 
Method Summary
 Object javaToSql(Object source)
           
 Object sqlToJava(Object source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OjbCharBooleanConversionAI

public OjbCharBooleanConversionAI()
Method Detail

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 © 2005-2013 The Kuali Foundation. All Rights Reserved.