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

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

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

Creates a KualiPercent object from the data field. Field is stored as a percentage.

See Also:
Serialized Form

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

OjbKualiPercentFieldConversion

public OjbKualiPercentFieldConversion()
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 © 2005-2012 The Kuali Foundation. All Rights Reserved.