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

java.lang.Object
  extended by org.kuali.rice.core.framework.persistence.ojb.conversion.OjbCharBooleanConversionBase
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.accesslayer.conversions.FieldConversion
Direct Known Subclasses:
OjbCharBooleanConversion4, OjbCharBooleanConversionTF

public abstract class OjbCharBooleanConversionBase
extends Object
implements org.apache.ojb.broker.accesslayer.conversions.FieldConversion

See Also:
Serialized Form

Constructor Summary
OjbCharBooleanConversionBase()
           
 
Method Summary
protected abstract  String getFalseValue()
           
protected abstract  String getTrueValue()
           
 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

OjbCharBooleanConversionBase

public OjbCharBooleanConversionBase()
Method Detail

getTrueValue

protected abstract String getTrueValue()

getFalseValue

protected abstract String getFalseValue()

javaToSql

public Object javaToSql(Object source)
Specified by:
javaToSql in interface org.apache.ojb.broker.accesslayer.conversions.FieldConversion
See Also:
FieldConversion.javaToSql(Object)

sqlToJava

public Object sqlToJava(Object source)
Specified by:
sqlToJava in interface org.apache.ojb.broker.accesslayer.conversions.FieldConversion
See Also:
FieldConversion.sqlToJava(Object)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.