| java.lang.Object org.araneaframework.uilib.form.Data
All known Subclasses: org.araneaframework.uilib.form.data.BigDecimalListData, org.araneaframework.uilib.form.data.TimestampData, org.araneaframework.uilib.form.data.BooleanListData, org.araneaframework.uilib.form.data.DisplayItemListData, org.araneaframework.uilib.form.data.LongData, org.araneaframework.uilib.form.data.LongListData, org.araneaframework.uilib.form.data.YNData, org.araneaframework.uilib.form.data.IntegerListData, org.araneaframework.uilib.form.data.StringData, org.araneaframework.uilib.form.data.BigDecimalData, org.araneaframework.uilib.form.data.FileInfoData, org.araneaframework.uilib.form.data.ObjectData, org.araneaframework.uilib.form.data.StringListData, org.araneaframework.uilib.form.data.DateData, org.araneaframework.uilib.form.data.IntegerData, org.araneaframework.uilib.form.data.BooleanData,
Constructor Summary | |
protected | Data(Class typeClass, String type) Creates
Data of type type . | public | Data(Class typeClass) Creates
Data for holding objects of given Class . |
Data | public Data(Class typeClass)(Code) | | Creates
Data for holding objects of given Class .
Type is assumed to be simple class name of given Class.
Parameters: typeClass - the Class of Data values. |
isStateChanged | public boolean isStateChanged()(Code) | | Returns whether
Data state (value) has changed after it was marked.
whether Data state (value) has changed after it was marked. |
markBaseState | public void markBaseState()(Code) | | Marks the current value of the
Data as the base state
that will be used to determine whether its state has changed in
Data.isStateChanged() .
|
newData | public Data newData()(Code) | | Returns a new instance of this
Data , value is not set.
a new instance of current Data, value is not set. |
restoreBaseState | public void restoreBaseState()(Code) | | Restores the value of the
Data from the marked base state.
|
setDataValue | public void setDataValue(Object value)(Code) | | Sets the value of this
Data without modifying underlying
Control .
This is used on
FormElement conversion—which should not affect
Control values
read from request.
since: 1.0.12 |
|
|