org.kuali.rice.kns.util
Class OjbCharBooleanConversion

java.lang.Object
  extended by org.kuali.rice.kns.util.OjbCharBooleanConversion
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.accesslayer.conversions.FieldConversion

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

Performs conversion of java boolean fields to and from the database

See Also:
Serialized Form

Field Summary
static String DATABASE_BOOLEAN_FALSE_STRING_REPRESENTATION
           
static String DATABASE_BOOLEAN_TRUE_STRING_REPRESENTATION
           
 
Constructor Summary
OjbCharBooleanConversion()
           
 
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
 

Field Detail

DATABASE_BOOLEAN_TRUE_STRING_REPRESENTATION

public static final String DATABASE_BOOLEAN_TRUE_STRING_REPRESENTATION
See Also:
Constant Field Values

DATABASE_BOOLEAN_FALSE_STRING_REPRESENTATION

public static final String DATABASE_BOOLEAN_FALSE_STRING_REPRESENTATION
See Also:
Constant Field Values
Constructor Detail

OjbCharBooleanConversion

public OjbCharBooleanConversion()
Method Detail

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