NestedValueModel, ValueModelpublic class PropertyModel extends Object implements ValueModel, NestedValueModel
| Constructor | Description |
|---|---|
PropertyModel(ValueModel sourceModel,
String property) |
|
PropertyModel(ValueModel sourceModel,
String property,
Class type) |
|
PropertyModel(ValueModel sourceModel,
String property,
Class type,
boolean editable) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getProperty() |
|
ValueModel |
getSourceModel() |
|
Class |
getType() |
|
Object |
getValue() |
|
boolean |
isEditable() |
|
void |
setValue(Object value) |
public PropertyModel(ValueModel sourceModel, String property)
public PropertyModel(ValueModel sourceModel, String property, Class type)
public PropertyModel(ValueModel sourceModel, String property, Class type, boolean editable)
public String getProperty()
public ValueModel getSourceModel()
getSourceModel in interface NestedValueModelpublic Object getValue()
getValue in interface ValueModelpublic void setValue(Object value)
setValue in interface ValueModelpublic Class getType()
getType in interface ValueModelpublic boolean isEditable()
isEditable in interface ValueModel