org.kuali.rice.kns.util
Class OjbKualiCodeConversion

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

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

This class crudely maps KualiCode to/from a String. It is intended as a temporary placeholder until a general technique for managing codes is decided upon.

See Also:
Serialized Form

Constructor Summary
OjbKualiCodeConversion()
           
 
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

OjbKualiCodeConversion

public OjbKualiCodeConversion()
Method Detail

javaToSql

public Object javaToSql(Object source)
                 throws org.apache.ojb.broker.accesslayer.conversions.ConversionException
Specified by:
javaToSql in interface org.apache.ojb.broker.accesslayer.conversions.FieldConversion
Throws:
org.apache.ojb.broker.accesslayer.conversions.ConversionException

sqlToJava

public Object sqlToJava(Object source)
                 throws org.apache.ojb.broker.accesslayer.conversions.ConversionException
Specified by:
sqlToJava in interface org.apache.ojb.broker.accesslayer.conversions.FieldConversion
Throws:
org.apache.ojb.broker.accesslayer.conversions.ConversionException


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.