org.apache.ojb.broker.accesslayer.conversions
Class JavaDate2SqlTimestampFieldConversion

java.lang.Object
  extended by org.apache.ojb.broker.accesslayer.conversions.JavaDate2SqlTimestampFieldConversion
All Implemented Interfaces:
Serializable, FieldConversion

public class JavaDate2SqlTimestampFieldConversion
extends Object
implements FieldConversion

this implementation of the FieldConversion interface converts between java.util.Date values and java.sql.Timestamp values in the rdbms.

Version:
$Id: JavaDate2SqlTimestampFieldConversion.java,v 1.1 2007-08-24 22:17:31 ewestfal Exp $
Author:
Matthew Baird
See Also:
Serialized Form

Constructor Summary
JavaDate2SqlTimestampFieldConversion()
           
 
Method Summary
 Object javaToSql(Object source)
          Convert an object of the persistent class to a counterpart object supported by the JDBC specification.
 Object sqlToJava(Object source)
          Convert a JDBC object to a persistent class value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaDate2SqlTimestampFieldConversion

public JavaDate2SqlTimestampFieldConversion()
Method Detail

javaToSql

public Object javaToSql(Object source)
Description copied from interface: FieldConversion
Convert an object of the persistent class to a counterpart object supported by the JDBC specification.

Specified by:
javaToSql in interface FieldConversion

sqlToJava

public Object sqlToJava(Object source)
Description copied from interface: FieldConversion
Convert a JDBC object to a persistent class value.

Specified by:
sqlToJava in interface FieldConversion


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