org.exolab.castor.xml.handlers
public class SQLTimestampFieldHandler extends GeneralizedFieldHandler
Version: $Revision: 1.1 $ $Date: 2004/04/09 04:44:10 $
See Also: FieldDescriptor FieldHandler
Constructor Summary | |
---|---|
SQLTimestampFieldHandler()
Creates a new SQLTimestampFieldHandler |
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