<!-- Shared components of the binding2 variations  -->
<binding>
  <mapping name="carrier" class="multiple.CarrierBean">
    <value name="ident" field="m_ident" ident="def"/>
    <value name="rating" field="m_rating"/>
    <value name="URL" field="m_url"/>
    <value name="name" field="m_name"/>
  </mapping>
  <mapping name="airport" class="multiple.AirportBean">
    <value name="ident" field="m_ident" ident="def"/>
    <value name="location" field="m_location"/>
    <value name="name" field="m_name"/>
  </mapping>
  <mapping name="route" class="multiple.RouteBean">
    <value name="from" field="m_from" ident="ref"/>
    <value name="to" field="m_to" ident="ref"/>
    <collection field="m_flights"
      item-type="multiple.FlightBean"/>
  </mapping>
  <mapping name="flight" class="multiple.FlightBean">
    <structure name="identity">
      <value name="carrier" field="m_carrier" ident="ref"/>
      <value name="number" field="m_number"/>
    </structure>
    <structure name="times">
      <value name="depart" get-method="getDepartureTime"
        set-method="setDepartureTime"/>
      <value name="arrive" get-method="getArrivalTime"
        set-method="setArrivalTime"/>
    </structure>
  </mapping>
</binding>
