org.codehaus.groovy.binding
Class AbstractFullBinding
java.lang.Object
org.codehaus.groovy.binding.AbstractFullBinding
- All Implemented Interfaces:
- BindingUpdatable, FullBinding
- Direct Known Subclasses:
- AbstractSyntheticBinding, PropertyPathFullBinding
public abstract class AbstractFullBinding
- extends Object
- implements FullBinding
- Since:
- Groovy 1.1
- Version:
- $Revision: 16006 $
- Author:
- Danno Ferrin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceBinding
protected SourceBinding sourceBinding
targetBinding
protected TargetBinding targetBinding
validator
protected Closure validator
converter
protected Closure converter
reverseConverter
protected Closure reverseConverter
AbstractFullBinding
public AbstractFullBinding()
update
public void update()
- Description copied from interface:
BindingUpdatable
- Causes the values to be propigated from the source to the target
- Specified by:
update
in interface BindingUpdatable
reverseUpdate
public void reverseUpdate()
- Description copied from interface:
BindingUpdatable
- If supported, Causes the values to be propigated from the target to the source,
If not supported, an exception may be thrown
- Specified by:
reverseUpdate
in interface BindingUpdatable
getSourceBinding
public SourceBinding getSourceBinding()
- Specified by:
getSourceBinding
in interface FullBinding
setSourceBinding
public void setSourceBinding(SourceBinding sourceBinding)
- Specified by:
setSourceBinding
in interface FullBinding
getTargetBinding
public TargetBinding getTargetBinding()
- Specified by:
getTargetBinding
in interface FullBinding
setTargetBinding
public void setTargetBinding(TargetBinding targetBinding)
- Specified by:
setTargetBinding
in interface FullBinding
getValidator
public Closure getValidator()
- Specified by:
getValidator
in interface FullBinding
setValidator
public void setValidator(Closure validator)
- Specified by:
setValidator
in interface FullBinding
getConverter
public Closure getConverter()
- Specified by:
getConverter
in interface FullBinding
setConverter
public void setConverter(Closure converter)
- Specified by:
setConverter
in interface FullBinding
getReverseConverter
public Closure getReverseConverter()
- Specified by:
getReverseConverter
in interface FullBinding
setReverseConverter
public void setReverseConverter(Closure reverseConverter)
- Specified by:
setReverseConverter
in interface FullBinding