public abstract class AbstractFullBinding extends Object implements FullBinding
Modifier and Type | Field and Description |
---|---|
protected groovy.lang.Closure |
converter |
protected groovy.lang.Closure |
reverseConverter |
protected SourceBinding |
sourceBinding |
protected TargetBinding |
targetBinding |
protected groovy.lang.Closure |
validator |
Constructor and Description |
---|
AbstractFullBinding() |
Modifier and Type | Method and Description |
---|---|
groovy.lang.Closure |
getConverter() |
groovy.lang.Closure |
getReverseConverter() |
SourceBinding |
getSourceBinding() |
TargetBinding |
getTargetBinding() |
groovy.lang.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(groovy.lang.Closure converter) |
void |
setReverseConverter(groovy.lang.Closure reverseConverter) |
void |
setSourceBinding(SourceBinding sourceBinding) |
void |
setTargetBinding(TargetBinding targetBinding) |
void |
setValidator(groovy.lang.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, wait
bind, rebind, unbind
protected SourceBinding sourceBinding
protected TargetBinding targetBinding
protected groovy.lang.Closure validator
protected groovy.lang.Closure converter
protected groovy.lang.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 groovy.lang.Closure getValidator()
getValidator
in interface FullBinding
public void setValidator(groovy.lang.Closure validator)
setValidator
in interface FullBinding
public groovy.lang.Closure getConverter()
getConverter
in interface FullBinding
public void setConverter(groovy.lang.Closure converter)
setConverter
in interface FullBinding
public groovy.lang.Closure getReverseConverter()
getReverseConverter
in interface FullBinding
public void setReverseConverter(groovy.lang.Closure reverseConverter)
setReverseConverter
in interface FullBinding