Module io.github.mmm.ui.api.data
Package io.github.mmm.ui.api.widget.data
Interface UiAbstractDataWidget.ColumnAdapter<D,C>
- Type Parameters:
D
- type of the data model.C
- type of the property value (cell value).
- Enclosing interface:
UiAbstractDataWidget<R>
public static interface UiAbstractDataWidget.ColumnAdapter<D,C>
Interface to read and write the value of a property of the data model.
-
Method Summary
-
Method Details
-
getType
- Returns:
- the
Class
reflecting the cell value (e.g.String
,Boolean
,Integer
,BigDecimal
, etc.).
-
get
Getter to read the property value from the data model.- Parameters:
data
- the data object to read the value from.- Returns:
- the property value from the data object.
-
set
Setter to write the property value back to the data model. Only needed for inline editing whenUiColumn
is notread-only
.- Parameters:
data
-value
-
-