Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected groovy.lang.Closureconverterprotected groovy.lang.ClosurereverseConverterprotected SourceBindingsourceBindingprotected TargetBindingtargetBindingprotected groovy.lang.Closurevalidator
-
Constructor Summary
Constructors Constructor Description AbstractFullBinding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description groovy.lang.ClosuregetConverter()groovy.lang.ClosuregetReverseConverter()SourceBindinggetSourceBinding()TargetBindinggetTargetBinding()groovy.lang.ClosuregetValidator()voidreverseUpdate()If supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrownvoidsetConverter(groovy.lang.Closure converter)voidsetReverseConverter(groovy.lang.Closure reverseConverter)voidsetSourceBinding(SourceBinding sourceBinding)voidsetTargetBinding(TargetBinding targetBinding)voidsetValidator(groovy.lang.Closure validator)voidupdate()Causes the values to be propagated from the source to the target-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.groovy.binding.BindingUpdatable
bind, rebind, unbind
-
-
-
-
Field Detail
-
sourceBinding
protected SourceBinding sourceBinding
-
targetBinding
protected TargetBinding targetBinding
-
validator
protected groovy.lang.Closure validator
-
converter
protected groovy.lang.Closure converter
-
reverseConverter
protected groovy.lang.Closure reverseConverter
-
-
Method Detail
-
update
public void update()
Description copied from interface:BindingUpdatableCauses the values to be propagated from the source to the target- Specified by:
updatein interfaceBindingUpdatable
-
reverseUpdate
public void reverseUpdate()
Description copied from interface:BindingUpdatableIf supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrown- Specified by:
reverseUpdatein interfaceBindingUpdatable
-
getSourceBinding
public SourceBinding getSourceBinding()
- Specified by:
getSourceBindingin interfaceFullBinding
-
setSourceBinding
public void setSourceBinding(SourceBinding sourceBinding)
- Specified by:
setSourceBindingin interfaceFullBinding
-
getTargetBinding
public TargetBinding getTargetBinding()
- Specified by:
getTargetBindingin interfaceFullBinding
-
setTargetBinding
public void setTargetBinding(TargetBinding targetBinding)
- Specified by:
setTargetBindingin interfaceFullBinding
-
getValidator
public groovy.lang.Closure getValidator()
- Specified by:
getValidatorin interfaceFullBinding
-
setValidator
public void setValidator(groovy.lang.Closure validator)
- Specified by:
setValidatorin interfaceFullBinding
-
getConverter
public groovy.lang.Closure getConverter()
- Specified by:
getConverterin interfaceFullBinding
-
setConverter
public void setConverter(groovy.lang.Closure converter)
- Specified by:
setConverterin interfaceFullBinding
-
getReverseConverter
public groovy.lang.Closure getReverseConverter()
- Specified by:
getReverseConverterin interfaceFullBinding
-
setReverseConverter
public void setReverseConverter(groovy.lang.Closure reverseConverter)
- Specified by:
setReverseConverterin interfaceFullBinding
-
-