Handles a field-control mapping.The unit classifier.The board classifier.The interactor to define the mapping for.Object representing mapping definition. See remarks for details.<code>true</code> if the mapping was handled, <code>false</code> otherwise.<h2>Dependencies</h2><div class="INSET">None</div>
<h2>Behavior</h2>
The <code>mapping</code> object has the following members:
<table class="VERT"><tr><td class="H V">Name </td><td class=H>Type </td><td class=H>Description </td></tr><tr><td class=V>element </td><td><q ref="core.gml2:Interactor">Interactor</q> </td><td>element, for which this mapping is defined </td></tr><tr><td class=V>map </td><td>Object </td><td>Object representing field to control mapping. See below for details. </td></tr><tr><td class=V>removeControls </td><td>Boolean </td><td>Flag that defines what to do when the mapping is removed. Default is <code>false.</code> </td></tr></table>
The <code>map</code> member of the <code>mapping</code> object is a collection with Field ID as the key and items of the following structure:
<table class="VERT"><tr><td class="H V">Name </td><td class=H>Type </td><td class=H>Description </td></tr><tr><td class=V>mapped </td><td>Boolean </td><td><code>true</code> if the field is mapped to a control, <code>false</code> otherwise </td></tr><tr><td class=V>control </td><td>QName </td><td>ID of the control if the field is mapped to a control </td></tr><tr><td class=V>classname </td><td>String </td><td>class name of a control, to which the field is mapped or should be mapped </td></tr></table>
If the mapping is set to <code>true,</code> the typical behavior is to create a controls and bind it to a field.
If the mapping is set to <code>false,</code> the typical behavior is to unbind or delete controls, depending on <code>removeControls</code> flag.
The behavior can be extended to define different mapping handling.(c) SAP AG 2003-2006. All rights reserved.