Public Member Functions | |
SQLTimeFieldHandler () | |
Object | convertUponGet (Object value) |
Object | convertUponSet (Object value) |
Class | getFieldType () |
Object | newInstance (Object parent) throws IllegalStateException |
An implementation of GeneralizedFieldHandler for java.sql.Time
org.exolab.castor.xml.handlers.SQLTimeFieldHandler.SQLTimeFieldHandler | ( | ) |
Creates a new SQLTimeFieldHandler
Object org.exolab.castor.xml.handlers.SQLTimeFieldHandler.convertUponGet | ( | Object | value | ) | [virtual] |
This method is used to convert the value when the getValue method is called. The getValue method will obtain the actual field value from given 'parent' object. This convert method is then invoked with the field's value. The value returned from this method will be the actual value returned by getValue method.
value | the object value to convert after performing a get operation |
Implements org.exolab.castor.mapping.GeneralizedFieldHandler.
Object org.exolab.castor.xml.handlers.SQLTimeFieldHandler.convertUponSet | ( | Object | value | ) | [virtual] |
This method is used to convert the value when the setValue method is called. The setValue method will call this method to obtain the converted value. The converted value will then be used as the value to set for the field.
value | the object value to convert before performing a set operation |
Implements org.exolab.castor.mapping.GeneralizedFieldHandler.
Class org.exolab.castor.xml.handlers.SQLTimeFieldHandler.getFieldType | ( | ) | [virtual] |
Returns the class type for the field that this GeneralizedFieldHandler converts to and from. This should be the type that is used in the object model.
Implements org.exolab.castor.mapping.GeneralizedFieldHandler.
Object org.exolab.castor.xml.handlers.SQLTimeFieldHandler.newInstance | ( | Object | parent | ) | throws IllegalStateException [virtual] |
Creates a new instance of the object described by this field.
parent | The object for which the field is created |
IllegalStateException | This field is a simple type and cannot be instantiated |
Reimplemented from org.exolab.castor.mapping.GeneralizedFieldHandler.