The following binding method is
available for subclasses to access contextual information about
the current binding:
protected IlpAttributeBindingContext getBindingContext()
The IlpAttributeBindingContext
is set to the binding object right before performing a type
conversion. It is used to provide the following required
information:
After the conversion, the context object
is removed from the binding object.
Object convertToProperty(Object):
This method applies READ-WRITE and READ-ONLY binding types. It
must be extended to implement the conversion of a JViews TGO
attribute to an SDM property. The given argument is the current
JViews TGO attribute and the returned value corresponds to the
new SDM property value. The method getBindingContext()
can be invoked inside this method to retrieve contextual
information that might be valuable for the conversion.
Object convertToAttribute(Object):
This method only applies to READ-WRITE binding types. It must
be extended to implement the conversion of an SDM property to a
JViews TGO attribute. The given argument is the current SDM
property value and the returned value corresponds to the new
JViews TGO attribute value. The method getBindingContext()
can be invoked inside this method to retrieve contextual
information that might be valuable for the conversion.