Package groovy.model
Class ClosureModel
java.lang.Object
groovy.model.ClosureModel
- All Implemented Interfaces:
 NestedValueModel,ValueModel
@Deprecated public class ClosureModel extends Object implements ValueModel, NestedValueModel
Deprecated.
Represents a value model using a closure to extract
 the value from some source model and an optional write closure
 for updating the value.
- 
Constructor Summary
Constructors Constructor Description ClosureModel(ValueModel sourceModel, Closure readClosure)Deprecated.ClosureModel(ValueModel sourceModel, Closure readClosure, Closure writeClosure)Deprecated.ClosureModel(ValueModel sourceModel, Closure readClosure, Closure writeClosure, Class type)Deprecated. - 
Method Summary
Modifier and Type Method Description ValueModelgetSourceModel()Deprecated.ClassgetType()Deprecated.ObjectgetValue()Deprecated.booleanisEditable()Deprecated.voidsetValue(Object value)Deprecated. 
- 
Constructor Details
- 
ClosureModel
Deprecated. - 
ClosureModel
Deprecated. - 
ClosureModel
Deprecated. 
 - 
 - 
Method Details
- 
getSourceModel
Deprecated.- Specified by:
 getSourceModelin interfaceNestedValueModel
 - 
getValue
Deprecated.- Specified by:
 getValuein interfaceValueModel
 - 
setValue
Deprecated.- Specified by:
 setValuein interfaceValueModel
 - 
getType
Deprecated.- Specified by:
 getTypein interfaceValueModel
 - 
isEditable
public boolean isEditable()Deprecated.- Specified by:
 isEditablein interfaceValueModel
 
 -