|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.oreodata.metadata.Field | +--org.oreodata.metadata.TimeZoneField
A descriptor for a field that holds a time zone
Field Summary |
Fields inherited from class org.oreodata.metadata.Field |
defaultValueString, intern, properties, sqlType |
Constructor Summary | |
TimeZoneField()
|
Method Summary | |
java.lang.Object |
convertFromJDBC(java.lang.Object obj)
Method to support slurping records from a JDBC result set. |
java.lang.Object |
convertToJDBC(java.lang.Object obj)
Method to support persisting records to a JDBC record set. |
java.lang.Class |
getJavaType()
The kind of java object that can live in this record field. |
java.lang.Object |
getObjectFromString(Record rec,
java.lang.String value)
Given the string representation of a field, return its internal java object representation. |
java.lang.String |
valueToString(java.lang.Object value)
returns the preferred String representation of the object in question. |
Methods inherited from class org.oreodata.metadata.Field |
checkValidValue, createSAXHandler, defaultValue, getCopy, getLocalizedName, getName, getProperty, getSQLType, hashCode, init, intern, isFieldOf, isRequired, isSetExternally, normalize, processDefaultValue, processNormalization, processProperties, setDefaultValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TimeZoneField()
Method Detail |
public java.lang.Class getJavaType()
FieldDescriptor
getJavaType
in interface FieldDescriptor
getJavaType
in class Field
public java.lang.Object getObjectFromString(Record rec, java.lang.String value) throws MangledDataException
FieldDescriptor
MangledDataException
public java.lang.Object convertFromJDBC(java.lang.Object obj)
FieldDescriptor
convertFromJDBC
in interface FieldDescriptor
convertFromJDBC
in class Field
public java.lang.Object convertToJDBC(java.lang.Object obj)
FieldDescriptor
convertToJDBC
in interface FieldDescriptor
convertToJDBC
in class Field
public java.lang.String valueToString(java.lang.Object value)
FieldDescriptor
valueToString
in interface FieldDescriptor
valueToString
in class Field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |