|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.mapping.loader.FieldHandlerFriend
org.exolab.castor.mapping.ExtendedFieldHandler
org.exolab.castor.mapping.AbstractFieldHandler
org.exolab.castor.mapping.GeneralizedFieldHandler
org.exolab.castor.xml.handlers.SQLTimeFieldHandler
public class SQLTimeFieldHandler
An implementation of GeneralizedFieldHandler for java.sql.Time.
FieldDescriptor,
FieldHandler| Constructor Summary | |
|---|---|
SQLTimeFieldHandler()
Creates a new SQLTimeFieldHandler. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.exolab.castor.mapping.GeneralizedFieldHandler |
|---|
getValue, newInstance, resetValue, setCollectionIteration, setFieldHandler, setValue |
| Methods inherited from class org.exolab.castor.mapping.AbstractFieldHandler |
|---|
getFieldDescriptor, hasValue, setFieldDescriptor |
| Methods inherited from class org.exolab.castor.mapping.ExtendedFieldHandler |
|---|
checkValidity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLTimeFieldHandler()
| Method Detail |
|---|
public java.lang.Object convertUponGet(java.lang.Object value)
convertUponGet in class GeneralizedFieldHandlervalue - the object value to convert after performing a get operation
public java.lang.Object convertUponSet(java.lang.Object value)
convertUponSet in class GeneralizedFieldHandlervalue - the object value to convert before performing a set
operation
public java.lang.Class getFieldType()
getFieldType in class GeneralizedFieldHandler
public java.lang.Object newInstance(java.lang.Object parent)
throws java.lang.IllegalStateException
newInstance in interface FieldHandlernewInstance in class GeneralizedFieldHandlerparent - The object for which the field is created
java.lang.IllegalStateException - This field is a simple type and cannot be
instantiated
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||