| |
|
| java.lang.Object org.jaffa.presentation.portlet.widgets.model.WidgetModel org.jaffa.presentation.portlet.widgets.model.DateTimeModel
DateTimeModel | public class DateTimeModel extends WidgetModel (Code) | | Model for the DateTime widget.
|
DateTimeModel | public DateTimeModel()(Code) | | Default constructor.
|
DateTimeModel | public DateTimeModel(DateOnly value)(Code) | | Creates a model initialized to the input value.
Parameters: value - The initial value. |
DateTimeModel | public DateTimeModel(DateOnly value, DateOnlyFieldMetaData meta)(Code) | | Creates a model initialized to the input value.
Parameters: value - The initial value. Parameters: meta - The meta object to use for getting the layout info. |
DateTimeModel | public DateTimeModel(DateTime value)(Code) | | Creates a model initialized to the input value.
Parameters: value - The initial value. |
DateTimeModel | public DateTimeModel(DateTime value, DateTimeFieldMetaData meta)(Code) | | Creates a model initialized to the input value.
Parameters: value - The initial value. Parameters: meta - The meta object to use for getting the layout info. |
getDateOnlyValue | public DateOnly getDateOnlyValue()(Code) | | Returns the value as a DateOnly object.
the value as a DateOnly object. |
getValue | public DateTime getValue()(Code) | | Getter for property value.
Value of property value. |
isMandatory | public boolean isMandatory()(Code) | | Getter for property mandatory.
Value of property mandatory. |
isModelChanged | public boolean isModelChanged()(Code) | | See if model has changed, in the process reset the changed flag.
true if the model was changed. |
setMandatory | public void setMandatory(boolean mandatory)(Code) | | Setter for property mandatory.
Parameters: meta - New value of property mandatory. |
setValue | public void setValue(DateTime value)(Code) | | Setter for property value.
Parameters: value - New value of property value. |
|
|
|