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 java.lang.Object implements FullBinding - Since:
- Groovy 1.1
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected Closureconverterprotected ClosurereverseConverterprotected SourceBindingsourceBindingprotected TargetBindingtargetBindingprotected Closurevalidator
 - 
Constructor SummaryConstructors Constructor Description AbstractFullBinding()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ClosuregetConverter()ClosuregetReverseConverter()SourceBindinggetSourceBinding()TargetBindinggetTargetBinding()ClosuregetValidator()voidreverseUpdate()If supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrownvoidsetConverter(Closure converter)voidsetReverseConverter(Closure reverseConverter)voidsetSourceBinding(SourceBinding sourceBinding)voidsetTargetBinding(TargetBinding targetBinding)voidsetValidator(Closure validator)voidupdate()Causes the values to be propagated from the source to the target- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.codehaus.groovy.binding.BindingUpdatablebind, rebind, unbind
 
- 
 
- 
- 
- 
Field Detail- 
sourceBindingprotected SourceBinding sourceBinding 
 - 
targetBindingprotected TargetBinding targetBinding 
 - 
validatorprotected Closure validator 
 - 
converterprotected Closure converter 
 - 
reverseConverterprotected Closure reverseConverter 
 
- 
 - 
Method Detail- 
updatepublic void update() Description copied from interface:BindingUpdatableCauses the values to be propagated from the source to the target- Specified by:
- updatein interface- BindingUpdatable
 
 - 
reverseUpdatepublic 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 interface- BindingUpdatable
 
 - 
getSourceBindingpublic SourceBinding getSourceBinding() - Specified by:
- getSourceBindingin interface- FullBinding
 
 - 
setSourceBindingpublic void setSourceBinding(SourceBinding sourceBinding) - Specified by:
- setSourceBindingin interface- FullBinding
 
 - 
getTargetBindingpublic TargetBinding getTargetBinding() - Specified by:
- getTargetBindingin interface- FullBinding
 
 - 
setTargetBindingpublic void setTargetBinding(TargetBinding targetBinding) - Specified by:
- setTargetBindingin interface- FullBinding
 
 - 
getValidatorpublic Closure getValidator() - Specified by:
- getValidatorin interface- FullBinding
 
 - 
setValidatorpublic void setValidator(Closure validator) - Specified by:
- setValidatorin interface- FullBinding
 
 - 
getConverterpublic Closure getConverter() - Specified by:
- getConverterin interface- FullBinding
 
 - 
setConverterpublic void setConverter(Closure converter) - Specified by:
- setConverterin interface- FullBinding
 
 - 
getReverseConverterpublic Closure getReverseConverter() - Specified by:
- getReverseConverterin interface- FullBinding
 
 - 
setReverseConverterpublic void setReverseConverter(Closure reverseConverter) - Specified by:
- setReverseConverterin interface- FullBinding
 
 
- 
 
-