org.speakright.sro
Class SRODateItem
java.lang.Object
org.speakright.core.ModelItemBase
org.speakright.sro.SRODateItem
- All Implemented Interfaces:
- java.io.Serializable, IItemFormatter, IModelItem
public class SRODateItem
- extends ModelItemBase
- implements IItemFormatter
- See Also:
- Serialized Form
|
Method Summary |
void |
clear()
clear the value back to its default, and clear the
'set' flag. |
java.lang.String |
formatItem()
Return a prompt string that says the value of a model item. |
java.util.Date |
get()
|
java.lang.String |
getDateFormat()
|
java.lang.Object |
rawValue()
get raw value as object. |
void |
set(java.util.Date val)
|
void |
setDateFormat(java.lang.String fmt)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SRODateItem
public SRODateItem(java.util.Date val)
SRODateItem
public SRODateItem()
getDateFormat
public java.lang.String getDateFormat()
setDateFormat
public void setDateFormat(java.lang.String fmt)
rawValue
public java.lang.Object rawValue()
- Description copied from interface:
IModelItem
- get raw value as object. (for internal use)
- Specified by:
rawValue in interface IModelItem
- Returns:
clear
public void clear()
- Description copied from interface:
IModelItem
- clear the value back to its default, and clear the
'set' flag.
- Specified by:
clear in interface IModelItem
get
public java.util.Date get()
set
public void set(java.util.Date val)
formatItem
public java.lang.String formatItem()
- Description copied from interface:
IItemFormatter
- Return a prompt string that says the value of a model item.
- Specified by:
formatItem in interface IItemFormatter
- Returns: