org.speakright.sro
Class SRODateItem

java.lang.Object
  extended by org.speakright.core.ModelItemBase
      extended by org.speakright.sro.SRODateItem
All Implemented Interfaces:
java.io.Serializable, IItemFormatter, IModelItem

public class SRODateItem
extends ModelItemBase
implements IItemFormatter

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.speakright.core.ModelItemBase
m_formatter, m_isSet, m_name
 
Constructor Summary
SRODateItem()
           
SRODateItem(java.util.Date val)
           
 
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 org.speakright.core.ModelItemBase
getFormattedItem, getFormatter, isSet, log, setFormatter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SRODateItem

public SRODateItem(java.util.Date val)

SRODateItem

public SRODateItem()
Method Detail

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: