|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.revusky.oreo.metadata.Field | +--com.revusky.oreo.metadata.TimeZoneField
A descriptor for a field that holds a time zone
Fields inherited from class com.revusky.oreo.metadata.Field |
defaultValueString, properties, sqlType |
Constructor Summary | |
TimeZoneField()
|
Method Summary | |
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 the String representation of the object in question. |
Methods inherited from class com.revusky.oreo.metadata.Field |
checkValidValue, convertFromJDBC, defaultValue, getCopy, getLocalizedName, getName, getProperty, getSQLType, hashCode, init, isFieldOf, isRequired, 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 class Field
public java.lang.Object getObjectFromString(Record rec, java.lang.String value) throws MangledDataException
FieldDescriptor
The
- id of the timezone or full name. Given the way the
java.util.TimeZone code works, this will just get massaged into
plain GMT if you pass in a nonsense value. MAYBE REVISIT.public java.lang.String valueToString(java.lang.Object value)
FieldDescriptor
valueToString
in class Field
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |