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