[Java] Class PropertyModel
- groovy.model.PropertyModel
- All Implemented Interfaces and Traits:
- NestedValueModel, ValueModel
public class PropertyModel
Represents a property of a value as a model.
Properties Summary
Type | Name and description |
---|---|
Object |
value |
Constructor Summary
Constructor and description |
---|
PropertyModel
(ValueModel sourceModel, String property) |
PropertyModel
(ValueModel sourceModel, String property, Class type) |
PropertyModel
(ValueModel sourceModel, String property, Class type, boolean editable) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
String |
getProperty() | |
ValueModel |
getSourceModel() | |
Class |
getType() | |
Object |
getValue() | |
boolean |
isEditable() | |
void |
setValue(Object value) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail
Object value
Constructor Detail
public PropertyModel(ValueModel sourceModel, String property)
public PropertyModel(ValueModel sourceModel, String property, Class type)
public PropertyModel(ValueModel sourceModel, String property, Class type, boolean editable)
Method Detail
public String getProperty()
public ValueModel getSourceModel()
public Class getType()
public Object getValue()
public boolean isEditable()
public void setValue(Object value)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/model/PropertyModel.html