groovy.model
Class PropertyModel
java.lang.Object
   groovy.model.PropertyModel
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.
- Version:
- $Revision: 7054 $
- Author:
- James Strachan
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
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)
getProperty
public String getProperty()
- 
 
- 
 
getSourceModel
public ValueModel getSourceModel()
- 
- Specified by:
- getSourceModelin interface- NestedValueModel
 
- 
 
getValue
public Object getValue()
- 
- Specified by:
- getValuein interface- ValueModel
 
- 
 
setValue
public void setValue(Object value)
- 
- Specified by:
- setValuein interface- ValueModel
 
- 
 
getType
public Class getType()
- 
- Specified by:
- getTypein interface- ValueModel
 
- 
 
isEditable
public boolean isEditable()
- 
- Specified by:
- isEditablein interface- ValueModel
 
-