|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.presentation.portlet.widgets.model.WidgetModel
org.jaffa.presentation.portlet.widgets.model.DateTimeModel
Model for the DateTime widget.
| Constructor Summary | |
DateTimeModel()
Default constructor. |
|
DateTimeModel(DateOnly value)
Creates a model initialized to the input value. |
|
DateTimeModel(DateOnly value,
DateOnlyFieldMetaData meta)
Creates a model initialized to the input value. |
|
DateTimeModel(DateTime value)
Creates a model initialized to the input value. |
|
DateTimeModel(DateTime value,
DateTimeFieldMetaData meta)
Creates a model initialized to the input value. |
|
| Method Summary | |
DateOnly |
getDateOnlyValue()
Returns the value as a DateOnly object. |
DateTimeFieldMetaData |
getMeta()
Getter for property meta. |
DateTime |
getValue()
Getter for property value. |
boolean |
isMandatory()
Getter for property mandatory. |
boolean |
isModelChanged()
See if model has changed, in the process reset the changed flag. |
void |
setMandatory(boolean mandatory)
Setter for property mandatory. |
void |
setMeta(DateTimeFieldMetaData meta)
Setter for property meta. |
void |
setValue(DateTime value)
Setter for property value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DateTimeModel()
public DateTimeModel(DateOnly value)
value - The initial value.
public DateTimeModel(DateOnly value,
DateOnlyFieldMetaData meta)
value - The initial value.meta - The meta object to use for getting the layout info.public DateTimeModel(DateTime value)
value - The initial value.
public DateTimeModel(DateTime value,
DateTimeFieldMetaData meta)
value - The initial value.meta - The meta object to use for getting the layout info.| Method Detail |
public DateTime getValue()
public void setValue(DateTime value)
value - New value of property value.public DateTimeFieldMetaData getMeta()
public void setMeta(DateTimeFieldMetaData meta)
meta - New value of property meta.public DateOnly getDateOnlyValue()
public boolean isModelChanged()
public boolean isMandatory()
public void setMandatory(boolean mandatory)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||