Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<binding xmlns:ns1="http://www.opentravel.org/OTA/2003/05/common" name="binding" package="org.jibx.schema.org.opentravel._2012B.dynamicpkg" trim-whitespace="true">
  <namespace uri="http://www.opentravel.org/OTA/2003/05/common" default="elements"/>
  <include path="../../../base.dynamicpkg/target/generated-sources/binding.xml" precompiled="true"/>
  <include path="../../../hotel/target/generated-sources/binding.xml" precompiled="true"/>
  <mapping class="org.jibx.schema.org.opentravel._2012B.dynamicpkg.ModifyNotifRS" name="OTA_DynamicPkgModifyNotifRS">
    <structure map-as="ns1:MessageAcknowledgementType"/>
  </mapping>
  <mapping class="org.jibx.schema.org.opentravel._2012B.dynamicpkg.BookRS" name="OTA_DynamicPkgBookRS">
    <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" usage="optional" name="POS"/>
    <structure ordered="false" choice="true">
      <structure test-method="ifSuccess" usage="optional">
        <structure map-as="ns1:SuccessType" get-method="getSuccess" set-method="setSuccess" name="Success"/>
        <structure map-as="ns1:WarningsType" get-method="getWarnings" set-method="setWarnings" usage="optional" name="Warnings"/>
        <structure map-as="ns1:DynamicPkgType" get-method="getDynamicPackage" set-method="setDynamicPackage" usage="optional" name="DynamicPackage"/>
        <structure get-method="getInclusionSets" set-method="setInclusionSets" usage="optional" name="InclusionSets">
          <collection get-method="getInclusionSetList" set-method="setInclusionSetList" usage="optional" create-type="java.util.ArrayList">
            <structure map-as="ns1:InclusionSetType" name="InclusionSet"/>
          </collection>
        </structure>
      </structure>
      <structure map-as="ns1:ErrorsType" test-method="ifErrors" get-method="getErrors" set-method="setErrors" usage="optional" name="Errors"/>
    </structure>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
  </mapping>
  <mapping class="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRS" name="OTA_DynamicPkgAvailRS">
    <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" usage="optional" name="POS"/>
    <structure ordered="false" choice="true">
      <structure test-method="ifSuccess" usage="optional">
        <structure map-as="ns1:SuccessType" get-method="getSuccess" set-method="setSuccess" name="Success"/>
        <structure map-as="ns1:WarningsType" get-method="getWarnings" set-method="setWarnings" usage="optional" name="Warnings"/>
        <structure get-method="getSearchResults" set-method="setSearchResults" usage="optional" name="SearchResults">
          <collection get-method="getAirResultList" set-method="setAirResultList" usage="optional" create-type="java.util.ArrayList">
            <structure type="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRS$SearchResults$AirResults" name="AirResults">
              <structure map-as="ns1:DynamicPkgResponseType"/>
              <structure usage="optional" ordered="false" choice="true">
                <structure map-as="ns1:PricedItinerariesType" test-method="ifPricedItineraries" get-method="getPricedItineraries" set-method="setPricedItineraries" usage="optional" name="PricedItineraries"/>
                <structure test-method="ifOriginDestinationInformation" get-method="getOriginDestinationInformation" set-method="setOriginDestinationInformation" usage="optional" name="OriginDestinationInformation">
                  <structure map-as="ns1:OriginDestinationInformationType"/>
                  <collection get-method="getOriginDestinationOptionList" set-method="setOriginDestinationOptionList" name="OriginDestinationOptions" create-type="java.util.ArrayList">
                    <structure type="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRS$SearchResults$AirResults$OriginDestinationInformation$OriginDestinationOption" name="OriginDestinationOption">
                      <collection get-method="getFlightSegmentList" set-method="setFlightSegmentList" create-type="java.util.ArrayList">
                        <structure type="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRS$SearchResults$AirResults$OriginDestinationInformation$OriginDestinationOption$FlightSegment" name="FlightSegment">
                          <structure map-as="ns1:FlightSegmentType"/>
                          <collection get-method="getTrafficRestrictionInfoList" set-method="setTrafficRestrictionInfoList" usage="optional" create-type="java.util.ArrayList">
                            <structure type="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRS$SearchResults$AirResults$OriginDestinationInformation$OriginDestinationOption$FlightSegment$TrafficRestrictionInfo" name="TrafficRestrictionInfo">
                              <structure map-as="ns1:FreeTextType"/>
                              <value style="attribute" name="Code" get-method="getCode" set-method="setCode" usage="optional"/>
                            </structure>
                          </collection>
                          <collection get-method="getCommentList" set-method="setCommentList" usage="optional" create-type="java.util.ArrayList">
                            <structure map-as="ns1:FreeTextType" name="Comment"/>
                          </collection>
                          <collection get-method="getMarketingCabinList" set-method="setMarketingCabinList" usage="optional" create-type="java.util.ArrayList">
                            <structure map-as="ns1:MarketingCabinType" name="MarketingCabin"/>
                          </collection>
                          <collection get-method="getBookingClassAvailList" set-method="setBookingClassAvailList" usage="optional" create-type="java.util.ArrayList">
                            <structure type="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRS$SearchResults$AirResults$OriginDestinationInformation$OriginDestinationOption$FlightSegment$BookingClassAvail" name="BookingClassAvail">
                              <structure map-as="ns1:BookingClassAvailabilityGroup-AttributeGroup" get-method="getBookingClassAvailabilityGroup" set-method="setBookingClassAvailabilityGroup" usage="optional"/>
                              <value style="attribute" name="RPH" get-method="getRPH" set-method="setRPH" usage="optional"/>
                            </structure>
                          </collection>
                          <collection get-method="getStopLocationList" set-method="setStopLocationList" usage="optional" create-type="java.util.ArrayList">
                            <structure type="org.jibx.schema.org.opentravel._2012B.base.LocationGroup" name="StopLocation">
                              <structure map-as="ns1:LocationGroup-AttributeGroup" usage="optional"/>
                            </structure>
                          </collection>
                          <value style="attribute" name="JourneyDuration" get-method="getJourneyDuration" set-method="setJourneyDuration" usage="optional"/>
                          <value style="attribute" name="SmokingAllowed" get-method="getSmokingAllowed" set-method="setSmokingAllowed" usage="optional"/>
                          <value style="attribute" name="OnTimeRate" get-method="getOnTimeRate" set-method="setOnTimeRate" usage="optional"/>
                          <value style="attribute" name="Ticket" get-method="getTicket" set-method="setTicket" usage="optional" format="ns1:TicketType"/>
                          <value style="attribute" name="ParticipationLevelCode" get-method="getParticipationLevelCode" set-method="setParticipationLevelCode" usage="optional"/>
                          <value style="attribute" name="GroundDuration" get-method="getGroundDuration" set-method="setGroundDuration" usage="optional"/>
                          <value style="attribute" name="AccumulatedDuration" get-method="getAccumulatedDuration" set-method="setAccumulatedDuration" usage="optional"/>
                          <value style="attribute" name="Distance" get-method="getDistance" set-method="setDistance" usage="optional"/>
                          <value style="attribute" name="CodeshareInd" get-method="getCodeshareInd" set-method="setCodeshareInd" usage="optional"/>
                          <value style="attribute" name="FlifoInd" get-method="getFlifoInd" set-method="setFlifoInd" usage="optional"/>
                          <value style="attribute" name="DateChangeNbr" get-method="getDateChangeNbr" set-method="setDateChangeNbr" usage="optional"/>
                          <value style="attribute" name="SequenceNumber" get-method="getSequenceNumber" set-method="setSequenceNumber" usage="optional"/>
                        </structure>
                      </collection>
                    </structure>
                  </collection>
                  <value style="attribute" name="SameAirportInd" get-method="getSameAirportInd" set-method="setSameAirportInd" usage="optional"/>
                  <value style="attribute" name="RPH" get-method="getRPH" set-method="setRPH" usage="optional"/>
                </structure>
              </structure>
              <value style="attribute" name="ResponseType" get-method="getResponse" set-method="setResponse" usage="optional" format="ns1:AirComponentSearchType"/>
            </structure>
          </collection>
          <collection get-method="getHotelResultList" set-method="setHotelResultList" usage="optional" create-type="java.util.ArrayList">
            <structure type="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRS$SearchResults$HotelResults" name="HotelResults">
              <structure map-as="ns1:DynamicPkgResponseType"/>
              <structure get-method="getRoomStays" set-method="setRoomStays" usage="optional" name="RoomStays">
                <collection get-method="getRoomStayList" set-method="setRoomStayList" create-type="java.util.ArrayList">
                  <structure type="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRS$SearchResults$HotelResults$RoomStays$RoomStay" name="RoomStay">
                    <structure map-as="ns1:RoomStayType"/>
                    <structure get-method="getReference" set-method="setReference" usage="optional" name="Reference">
                      <structure map-as="ns1:UniqueID_Type"/>
                      <value style="attribute" name="DateTime" get-method="getDateTime" set-method="setDateTime" usage="optional" format="DateTime.UTC"/>
                    </structure>
                    <structure map-as="ns1:ServiceRPHsType" get-method="getServiceRPHs" set-method="setServiceRPHs" usage="optional" name="ServiceRPHs"/>
                    <value style="attribute" name="IsAlternate" get-method="getIsAlternate" set-method="setIsAlternate" usage="optional"/>
                    <value style="attribute" name="AvailabilityStatus" get-method="getAvailabilityStatus" set-method="setAvailabilityStatus" usage="optional" format="ns1:RateIndicatorType"/>
                    <structure map-as="ns1:ResponseTypeGroup-AttributeGroup" get-method="getResponseTypeGroup" set-method="setResponseTypeGroup" usage="optional"/>
                    <value style="attribute" name="RoomStayCandidateRPH" get-method="getRoomStayCandidateRPH" set-method="setRoomStayCandidateRPH" usage="optional"/>
                    <value style="attribute" name="MoreDataEchoToken" get-method="getMoreDataEchoToken" set-method="setMoreDataEchoToken" usage="optional"/>
                    <value style="attribute" name="InfoSource" get-method="getInfoSource" set-method="setInfoSource" usage="optional"/>
                    <value style="attribute" name="RPH" get-method="getRPH" set-method="setRPH" usage="optional"/>
                    <value style="attribute" name="AvailableIndicator" get-method="getAvailableIndicator" set-method="setAvailableIndicator" usage="optional"/>
                  </structure>
                </collection>
                <value style="attribute" name="MoreIndicator" get-method="getMoreIndicator" set-method="setMoreIndicator" usage="optional"/>
              </structure>
              <value style="attribute" name="ResponseType" get-method="getResponse" set-method="setResponse" usage="optional" format="ns1:HotelComponentSearchType"/>
            </structure>
          </collection>
          <collection get-method="getPackageOptionResultList" set-method="setPackageOptionResultList" usage="optional" create-type="java.util.ArrayList">
            <structure type="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRS$SearchResults$PackageOptionResults" name="PackageOptionResults">
              <structure map-as="ns1:DynamicPkgResponseType"/>
              <collection get-method="getPackageOptionGroupList" set-method="setPackageOptionGroupList" usage="optional" create-type="java.util.ArrayList">
                <structure map-as="ns1:PackageOptionGroupType" name="PackageOptionGroup"/>
              </collection>
              <value style="attribute" name="ResponseType" get-method="getResponse" set-method="setResponse" usage="optional" format="ns1:PackageOptionComponentSearchType"/>
            </structure>
          </collection>
          <collection get-method="getCarResultList" set-method="setCarResultList" usage="optional" create-type="java.util.ArrayList">
            <structure type="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRS$SearchResults$CarResults" name="CarResults">
              <structure map-as="ns1:DynamicPkgResponseType"/>
              <structure map-as="ns1:VehicleAvailRSCoreType" get-method="getVehAvailRSCore" set-method="setVehAvailRSCore" name="VehAvailRSCore"/>
              <value style="attribute" name="ResponseType" get-method="getResponse" set-method="setResponse" usage="optional" format="ns1:CarComponentSearchType"/>
            </structure>
          </collection>
        </structure>
        <structure map-as="ns1:DynamicPkgType" get-method="getDynamicPackage" set-method="setDynamicPackage" usage="optional" name="DynamicPackage"/>
        <structure get-method="getInclusionSets" set-method="setInclusionSets" usage="optional" name="InclusionSets">
          <collection get-method="getInclusionSetList" set-method="setInclusionSetList" usage="optional" create-type="java.util.ArrayList">
            <structure map-as="ns1:InclusionSetType" name="InclusionSet"/>
          </collection>
        </structure>
      </structure>
      <structure map-as="ns1:ErrorsType" test-method="ifErrors" get-method="getErrors" set-method="setErrors" usage="optional" name="Errors"/>
    </structure>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
  </mapping>
  <mapping class="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRQ" name="OTA_DynamicPkgAvailRQ">
    <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" usage="optional" name="POS"/>
    <structure name="SearchCriteria">
      <structure get-method="getPromotionCodes" set-method="setPromotionCodes" usage="optional" name="PromotionCodes">
        <collection get-method="getPromotionCodeList" set-method="setPromotionCodeList" usage="optional" create-type="java.util.ArrayList">
          <structure type="org.jibx.schema.org.opentravel._2012B.dynamicpkg.AvailRQ$PromotionCodes$PromotionCode" name="PromotionCode">
            <value style="attribute" name="RPH" get-method="getRPH" set-method="setRPH" usage="optional"/>
            <value style="attribute" name="Code" get-method="getCode" set-method="setCode" usage="optional"/>
          </structure>
        </collection>
      </structure>
      <collection get-method="getSearchCriteriaAirSearchList" set-method="setSearchCriteriaAirSearchList" usage="optional" create-type="java.util.ArrayList">
        <structure map-as="ns1:DynamicPkgAirSearchType" name="AirSearch"/>
      </collection>
      <collection get-method="getSearchCriteriaHotelSearchList" set-method="setSearchCriteriaHotelSearchList" usage="optional" create-type="java.util.ArrayList">
        <structure map-as="ns1:DynamicPkgHotelSearchType" name="HotelSearch"/>
      </collection>
      <collection get-method="getSearchCriteriaPackageOptionSearchList" set-method="setSearchCriteriaPackageOptionSearchList" usage="optional" create-type="java.util.ArrayList">
        <structure map-as="ns1:DynamicPkgOptionSearchType" name="PackageOptionSearch"/>
      </collection>
      <collection get-method="getSearchCriteriaCarSearchList" set-method="setSearchCriteriaCarSearchList" usage="optional" create-type="java.util.ArrayList">
        <structure map-as="ns1:DynamicPkgCarSearchType" name="CarSearch"/>
      </collection>
      <structure map-as="ns1:MultiModalOfferType" get-method="getSearchCriteriaMultimodalOffer" set-method="setSearchCriteriaMultimodalOffer" usage="optional" name="MultimodalOffer"/>
    </structure>
    <structure map-as="ns1:DynamicPkgType" get-method="getDynamicPackage" set-method="setDynamicPackage" usage="optional" name="DynamicPackage"/>
    <structure get-method="getInclusionSets" set-method="setInclusionSets" usage="optional" name="InclusionSets">
      <collection get-method="getInclusionSetList" set-method="setInclusionSetList" usage="optional" create-type="java.util.ArrayList">
        <structure map-as="ns1:InclusionSetType" name="InclusionSet"/>
      </collection>
    </structure>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
  </mapping>
  <mapping class="org.jibx.schema.org.opentravel._2012B.dynamicpkg.ModifyNotifRQ" name="OTA_DynamicPkgModifyNotifRQ">
    <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" usage="optional" name="POS"/>
    <structure map-as="ns1:WarningsType" get-method="getWarnings" set-method="setWarnings" usage="optional" name="Warnings"/>
    <structure map-as="ns1:DynamicPkgType" get-method="getDynamicPackage" set-method="setDynamicPackage" name="DynamicPackage"/>
    <structure get-method="getInclusionSets" set-method="setInclusionSets" usage="optional" name="InclusionSets">
      <collection get-method="getInclusionSetList" set-method="setInclusionSetList" usage="optional" create-type="java.util.ArrayList">
        <structure map-as="ns1:InclusionSetType" name="InclusionSet"/>
      </collection>
    </structure>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
    <value style="attribute" name="MaxResponses" get-method="getMaxResponses" set-method="setMaxResponses" usage="optional"/>
  </mapping>
  <mapping class="org.jibx.schema.org.opentravel._2012B.dynamicpkg.ModifyRQ" name="OTA_DynamicPkgModifyRQ">
    <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" usage="optional" name="POS"/>
    <structure map-as="ns1:DynamicPkgType" get-method="getDynamicPackage" set-method="setDynamicPackage" name="DynamicPackage"/>
    <structure get-method="getInclusionSets" set-method="setInclusionSets" usage="optional" name="InclusionSets">
      <collection get-method="getInclusionSetList" set-method="setInclusionSetList" usage="optional" create-type="java.util.ArrayList">
        <structure map-as="ns1:InclusionSetType" name="InclusionSet"/>
      </collection>
    </structure>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
    <value style="attribute" name="MaxResponses" get-method="getMaxResponses" set-method="setMaxResponses" usage="optional"/>
  </mapping>
  <mapping class="org.jibx.schema.org.opentravel._2012B.dynamicpkg.BookRQ" name="OTA_DynamicPkgBookRQ">
    <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" usage="optional" name="POS"/>
    <structure map-as="ns1:DynamicPkgType" get-method="getDynamicPackage" set-method="setDynamicPackage" name="DynamicPackage"/>
    <structure get-method="getInclusionSets" set-method="setInclusionSets" usage="optional" name="InclusionSets">
      <collection get-method="getInclusionSetList" set-method="setInclusionSetList" usage="optional" create-type="java.util.ArrayList">
        <structure map-as="ns1:InclusionSetType" name="InclusionSet"/>
      </collection>
    </structure>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
    <value style="attribute" name="MaxResponses" get-method="getMaxResponses" set-method="setMaxResponses" usage="optional"/>
  </mapping>
</binding>
New to GrepCode? Check out our FAQ X