public class PropertyModel extends Object implements ValueModel, NestedValueModel
Constructor and 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 and 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 NestedValueModel
public Object getValue()
getValue
in interface ValueModel
public void setValue(Object value)
setValue
in interface ValueModel
public Class getType()
getType
in interface ValueModel
public boolean isEditable()
isEditable
in interface ValueModel