ConfigurableFieldHandler
, FieldHandler
public class ToStringFieldHandler extends GeneralizedFieldHandler
_properties
Constructor | Description |
---|---|
ToStringFieldHandler(java.lang.Class type) |
Creates a new ToStringFieldHandler.
|
ToStringFieldHandler(java.lang.Class type,
FieldHandler handler) |
Creates a new ToStringFieldHandler.
|
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.
|
getFieldDescriptor, hasValue, setConfiguration, setFieldDescriptor
checkValidity
checkValidity
getValue, newInstance, newInstance, resetValue, setCollectionIteration, setFieldHandler, setValue
public ToStringFieldHandler(java.lang.Class type)
type
- the class type to create the FieldHandler forpublic ToStringFieldHandler(java.lang.Class type, FieldHandler handler)
type
- the class type to create the FieldHandler forhandler
- the FieldHandler to wrappublic java.lang.Object convertUponGet(java.lang.Object value)
convertUponGet
in class GeneralizedFieldHandler
value
- the object value to convert after performing a get
operationGeneralizedFieldHandler.convertUponGet(java.lang.Object)
public java.lang.Object convertUponSet(java.lang.Object value)
convertUponSet
in class GeneralizedFieldHandler
value
- the object value to convert before performing a set
operationGeneralizedFieldHandler.convertUponSet(java.lang.Object)
public java.lang.Class getFieldType()
getFieldType
in class GeneralizedFieldHandler
GeneralizedFieldHandler.getFieldType()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com