|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jlf.dataMap.DataAttribute | +--org.jlf.dataMap.DateAttribute
This class is used to hold a Java Date attribute.
DataAttribute
,
DataAttributeDescriptor
,
Serialized FormField Summary | |
protected java.lang.String |
dateFormatString
Holds the date format string so the attribute can be properly date formatted when using the toString() method. |
Fields inherited from class org.jlf.dataMap.DataAttribute |
hasChanged, name, originalValue, value |
Constructor Summary | |
DateAttribute()
Default constructor. |
|
DateAttribute(java.lang.String name)
Normal attribute constructor. |
Method Summary | |
void |
basicSetValue(java.lang.Object newValue)
Override for Date-specific behavior. |
void |
basicSetValue(java.lang.String dateString)
Setter to convert a string to a date. |
java.lang.String |
getDateFormatString()
Retrieves the default date format string. |
void |
setDateFormatString(java.lang.String dateFormatString)
Resets the default date format string. |
java.lang.String |
toString()
Overrides the default toString() method to output date in dateFormat format. |
Methods inherited from class org.jlf.dataMap.DataAttribute |
getDoubleValue, getLongValue, getName, getOriginalValue, getStringValue, getValue, hasChanged, resetAndSetValue, resetHasChanged, setName, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String dateFormatString
Constructor Detail |
public DateAttribute()
public DateAttribute(java.lang.String name)
Method Detail |
public java.lang.String getDateFormatString()
public void setDateFormatString(java.lang.String dateFormatString)
public void basicSetValue(java.lang.Object newValue)
basicSetValue
in class DataAttribute
public void basicSetValue(java.lang.String dateString)
public java.lang.String toString()
toString
in class DataAttribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |