Package groovy.model
Class PropertyModel
- java.lang.Object
 - 
- groovy.model.PropertyModel
 
 
- 
- All Implemented Interfaces:
 NestedValueModel,ValueModel
public class PropertyModel extends Object implements ValueModel, NestedValueModel
Represents a property of a value as a model. 
- 
- 
Constructor Summary
Constructors Constructor Description PropertyModel(ValueModel sourceModel, String property)PropertyModel(ValueModel sourceModel, String property, Class type)PropertyModel(ValueModel sourceModel, String property, Class type, boolean editable) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProperty()ValueModelgetSourceModel()ClassgetType()ObjectgetValue()booleanisEditable()voidsetValue(Object value) 
 - 
 
- 
- 
Constructor Detail
- 
PropertyModel
public PropertyModel(ValueModel sourceModel, String property)
 
- 
PropertyModel
public PropertyModel(ValueModel sourceModel, String property, Class type)
 
- 
PropertyModel
public PropertyModel(ValueModel sourceModel, String property, Class type, boolean editable)
 
 - 
 
- 
Method Detail
- 
getProperty
public String getProperty()
 
- 
getSourceModel
public ValueModel getSourceModel()
- Specified by:
 getSourceModelin interfaceNestedValueModel
 
- 
getValue
public Object getValue()
- Specified by:
 getValuein interfaceValueModel
 
- 
setValue
public void setValue(Object value)
- Specified by:
 setValuein interfaceValueModel
 
- 
getType
public Class getType()
- Specified by:
 getTypein interfaceValueModel
 
- 
isEditable
public boolean isEditable()
- Specified by:
 isEditablein interfaceValueModel
 
 - 
 
 -