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 propigated 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 propigated from the source to the target
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bind, rebind, unbind
protected SourceBinding sourceBinding
protected TargetBinding targetBinding
protected Closure validator
protected Closure converter
protected Closure reverseConverter
public void update()
BindingUpdatable
update
in interface BindingUpdatable
public void reverseUpdate()
BindingUpdatable
reverseUpdate
in interface BindingUpdatable
public SourceBinding getSourceBinding()
getSourceBinding
in interface FullBinding
public void setSourceBinding(SourceBinding sourceBinding)
setSourceBinding
in interface FullBinding
public TargetBinding getTargetBinding()
getTargetBinding
in interface FullBinding
public void setTargetBinding(TargetBinding targetBinding)
setTargetBinding
in interface FullBinding
public Closure getValidator()
getValidator
in interface FullBinding
public void setValidator(Closure validator)
setValidator
in interface FullBinding
public Closure getConverter()
getConverter
in interface FullBinding
public void setConverter(Closure converter)
setConverter
in interface FullBinding
public Closure getReverseConverter()
getReverseConverter
in interface FullBinding
public void setReverseConverter(Closure reverseConverter)
setReverseConverter
in interface FullBinding