org.exolab.castor.xml.handlers
public class SQLTimeFieldHandler extends GeneralizedFieldHandler
Version: $Revision: 5951 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
See Also: FieldDescriptor FieldHandler
Constructor Summary | |
---|---|
SQLTimeFieldHandler()
Creates a new SQLTimeFieldHandler |
Method Summary | |
---|---|
Object | convertUponGet(Object value)
This method is used to convert the value when the getValue method
is called. |
Object | convertUponSet(Object value)
This method is used to convert the value when the setValue method
is called. |
Class | getFieldType()
Returns the class type for the field that this GeneralizedFieldHandler
converts to and from. |
Object | newInstance(Object parent)
Creates a new instance of the object described by this field.
|
Parameters: value the object value to convert after performing a get operation
Returns: the converted value.
Parameters: value the object value to convert before performing a set operation
Returns: the converted value.
Returns: the class type of of the field
Parameters: parent The object for which the field is created
Returns: A new instance of the field's value
Throws: IllegalStateException This field is a simple type and cannot be instantiated