title: JAXB / XJC parent-child-parent navigation
body: <p>i would like to have bidirectional navigation methods in classes between child object and parent object.
  IDREF is not enough in my case because I don't want to specify le id of parent.
  to be clear, from an xsd like that:</p>
  
  <pre><code>&lt;complexType name="A"&gt;
      &lt;xs:sequence&gt;
          &lt;element name="b" type="B" minOccurs="0" maxOccurs="unbounded"&gt;&lt;/element&gt;
      &lt;/xs:sequence&gt;
      &lt;attribute name="id" type="ID"&gt;&lt;/attribute&gt;
  &lt;/complexType&gt;
  &lt;complexType name="B"&gt;
      &lt;attribute name="id" type="ID"&gt;&lt;/attribute&gt;
  &lt;/complexType&gt;
  </code></pre>
  
  <p>i would like classes looks like this:</p>
  
  <pre><code>class A {
      ...
      public List&lt;B&gt; getB() { ...}
      ...
     }
  class B {
      ...
      public A getA() {
      ...
  }
  </code></pre>
  
  <p>and my xml must looks like this:</p>
  
  <pre><code>&lt;a id="a1"&gt;
      &lt;b id="b1"/&gt;
      &lt;b id="b2"/&gt;
      ...
  &lt;/a&gt;
  </code></pre>
  
  <p>After unmarshal, I would like to be able to navigate A to Bs AND from B to A (via b.getA()) !!
  It a very basic feature, but I don't find a simple way to achieve that ...</p>
  
  <p>Any idea ??</p>
  
  <p>Thanks in advance</p>