Version 3

    Adding child to its parent

     

    1. if there is jbxb:mapKey, the parent must be bound as map entry and the child is added as the key with setKeyMethod specified for the map entry

    2. if there is jbxb:mapValue, the parent muct be bound as map entry and the child is added as the value with setValueMethod specified for the map entry

    3. if parent is recognized as map entry, its value (the map entry value) is considered to be the parent for the child

    4. if there is jbxb:putMethod, the child is added with the specified put-method

    5. if there is jbxb:addMethod, the child is added with the specified add-method

    6. if there is jbxb:property, the child set as the value of the specified property

    7. otherwise, the child is added to its parent as a property value following the default binding rules