|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumich.cac.data.Field
umich.cac.data.DateField
This class encapsulates Date fields. PBS encodes the date as "10/12/07 10:23:01" all in the same field. This type of date is split into TWO fields using child fields in this field: the DAY portion, and the TIME portion. The resulting XML will thus look similar to
<date> <day>10/12/07</day> <time>10:23:01</time> </date>
Field Summary |
Fields inherited from class umich.cac.data.Field |
childrenFields, fieldName, fieldType, nl, rawValue |
Constructor Summary | |
DateField(FieldName fieldName,
java.lang.String rawValue)
Constructor for DateField field |
Methods inherited from class umich.cac.data.Field |
addAttribute, addChild, getAttributes, getChildren, getFieldName, getFieldType, getRawValue, setRawValue, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DateField(FieldName fieldName, java.lang.String rawValue)
fieldName
- FieldName The name of the fieldrawValue
- The raw date value from PBS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |