public abstract class AbstractFullBinding extends java.lang.Object implements FullBinding
| Modifier and Type | Field and Description |
|---|---|
protected Closure |
converter |
protected Closure |
reverseConverter |
protected SourceBinding |
sourceBinding |
protected TargetBinding |
targetBinding |
protected Closure |
validator |
| Constructor and Description |
|---|
AbstractFullBinding() |
| Modifier and Type | Method and Description |
|---|---|
Closure |
getConverter() |
Closure |
getReverseConverter() |
SourceBinding |
getSourceBinding() |
TargetBinding |
getTargetBinding() |
Closure |
getValidator() |
void |
reverseUpdate()
If supported, Causes the values to be propagated from the target to the source,
If not supported, an exception may be thrown
|
void |
setConverter(Closure converter) |
void |
setReverseConverter(Closure reverseConverter) |
void |
setSourceBinding(SourceBinding sourceBinding) |
void |
setTargetBinding(TargetBinding targetBinding) |
void |
setValidator(Closure validator) |
void |
update()
Causes the values to be propagated from the source to the target
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbind, rebind, unbindprotected SourceBinding sourceBinding
protected TargetBinding targetBinding
protected Closure validator
protected Closure converter
protected Closure reverseConverter
public void update()
BindingUpdatableupdate in interface BindingUpdatablepublic void reverseUpdate()
BindingUpdatablereverseUpdate in interface BindingUpdatablepublic SourceBinding getSourceBinding()
getSourceBinding in interface FullBindingpublic void setSourceBinding(SourceBinding sourceBinding)
setSourceBinding in interface FullBindingpublic TargetBinding getTargetBinding()
getTargetBinding in interface FullBindingpublic void setTargetBinding(TargetBinding targetBinding)
setTargetBinding in interface FullBindingpublic Closure getValidator()
getValidator in interface FullBindingpublic void setValidator(Closure validator)
setValidator in interface FullBindingpublic Closure getConverter()
getConverter in interface FullBindingpublic void setConverter(Closure converter)
setConverter in interface FullBindingpublic Closure getReverseConverter()
getReverseConverter in interface FullBindingpublic void setReverseConverter(Closure reverseConverter)
setReverseConverter in interface FullBinding