ConfigurableFieldHandler
, FieldHandler
public class SQLTimestampFieldHandler extends GeneralizedFieldHandler
FieldDescriptor
,
FieldHandler
_properties
Constructor | Description |
---|---|
SQLTimestampFieldHandler() |
Creates a new SQLTimestampFieldHandler.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
convertUponGet(java.lang.Object value) |
This method is used to convert the value when the getValue method is
called.
|
java.lang.Object |
convertUponSet(java.lang.Object value) |
This method is used to convert the value when the setValue method is
called.
|
java.lang.Class |
getFieldType() |
Returns the class type for the field that this GeneralizedFieldHandler
converts to and from.
|
java.lang.Object |
newInstance(java.lang.Object parent) |
Creates a new instance of the object described by this field.
|
getFieldDescriptor, hasValue, setConfiguration, setFieldDescriptor
checkValidity
checkValidity
getValue, newInstance, resetValue, setCollectionIteration, setFieldHandler, setValue
public SQLTimestampFieldHandler()
public java.lang.Object convertUponGet(java.lang.Object value)
convertUponGet
in class GeneralizedFieldHandler
value
- the object value to convert after performing a get operationpublic java.lang.Object convertUponSet(java.lang.Object value)
convertUponSet
in class GeneralizedFieldHandler
value
- the object value to convert before performing a set
operationpublic java.lang.Class getFieldType()
getFieldType
in class GeneralizedFieldHandler
public java.lang.Object newInstance(java.lang.Object parent) throws java.lang.IllegalStateException
newInstance
in interface FieldHandler
newInstance
in class GeneralizedFieldHandler
parent
- The object for which the field is createdjava.lang.IllegalStateException
- This field is a simple type and cannot be
instantiatedIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com