Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<binding xmlns:ns1="http://www.opentravel.org/OTA/2003/05" name="binding" package="org.jibx.schema.org.opentravel._2012A.insurance" trim-whitespace="true">
  <namespace uri="http://www.opentravel.org/OTA/2003/05" default="elements"/>
  <include path="../../../base.insurance/target/generated-sources/binding.xml" precompiled="true"/>
  <mapping class="org.jibx.schema.org.opentravel._2012A.insurance.PlanSearchRS" name="OTA_InsurancePlanSearchRS">
    <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"/>
        <collection get-method="getAvailablePlanList" set-method="setAvailablePlanList" name="AvailablePlans" create-type="java.util.ArrayList">
          <structure type="org.jibx.schema.org.opentravel._2012A.insurance.PlanSearchRS$AvailablePlan" name="AvailablePlan">
            <structure get-method="getPlanDetail" set-method="setPlanDetail" usage="optional" name="PlanDetail">
              <structure map-as="ns1:FormattedTextType" get-method="getPlanDescription" set-method="setPlanDescription" usage="optional" name="PlanDescription"/>
              <structure map-as="ns1:URL_Type" get-method="getQuoteDetailURL" set-method="setQuoteDetailURL" usage="optional" name="QuoteDetailURL"/>
              <structure map-as="ns1:URL_Type" get-method="getBookingDetailURL" set-method="setBookingDetailURL" usage="optional" name="BookingDetailURL"/>
            </structure>
            <structure get-method="getProviderDetail" set-method="setProviderDetail" usage="optional" name="ProviderDetail">
              <structure map-as="ns1:CompanyNameType" get-method="getProviderCompany" set-method="setProviderCompany" usage="optional" name="ProviderCompany"/>
              <structure map-as="ns1:FormattedTextType" get-method="getProviderDescription" set-method="setProviderDescription" usage="optional" name="ProviderDescription"/>
            </structure>
            <structure get-method="getUnderwriterDetail" set-method="setUnderwriterDetail" usage="optional" name="UnderwriterDetail">
              <structure map-as="ns1:CompanyNameType" get-method="getUnderwriterCompany" set-method="setUnderwriterCompany" usage="optional" name="UnderwriterCompany"/>
              <structure map-as="ns1:FormattedTextType" get-method="getUnderwriterDescription" set-method="setUnderwriterDescription" usage="optional" name="UnderwriterDescription"/>
            </structure>
            <structure map-as="ns1:PlanRestrictionType" get-method="getPlanRestrictions" set-method="setPlanRestrictions" usage="optional" name="PlanRestrictions"/>
            <value style="attribute" name="Featured" get-method="getFeatured" set-method="setFeatured" usage="optional"/>
            <value style="attribute" name="PreferLevel" get-method="getPreferLevel" set-method="setPreferLevel" usage="optional" format="ns1:PreferLevelType"/>
            <structure map-as="ns1:PlanID_Group-AttributeGroup" get-method="getPlanIDGroup" set-method="setPlanIDGroup"/>
            <structure map-as="ns1:EffectiveExpireOptionalDateGroup-AttributeGroup" get-method="getEffectiveExpireOptionalDateGroup" set-method="setEffectiveExpireOptionalDateGroup" usage="optional"/>
          </structure>
        </collection>
      </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._2012A.insurance.PlanSearchRQ" name="OTA_InsurancePlanSearchRQ">
    <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" name="POS"/>
    <structure get-method="getCoveragePreferences" set-method="setCoveragePreferences" usage="optional" name="CoveragePreferences">
      <collection get-method="getCoveragePreferenceList" set-method="setCoveragePreferenceList" create-type="java.util.ArrayList">
        <structure type="org.jibx.schema.org.opentravel._2012A.insurance.PlanSearchRQ$CoveragePreferences$CoveragePreference" name="CoveragePreference">
          <structure map-as="ns1:CoverageLimitType"/>
          <value style="attribute" name="PreferLevel" get-method="getPreferLevel" set-method="setPreferLevel" usage="optional" format="ns1:PreferLevelType"/>
        </structure>
      </collection>
    </structure>
    <structure get-method="getSearchTripInfo" set-method="setSearchTripInfo" usage="optional" name="SearchTripInfo">
      <collection get-method="getTravelSectorList" set-method="setTravelSectorList" usage="optional" create-type="java.util.ArrayList">
        <value style="element" name="TravelSector" type="java.lang.String"/>
      </collection>
      <structure get-method="getTotalTripCost" set-method="setTotalTripCost" usage="optional" name="TotalTripCost">
        <structure map-as="ns1:CurrencyAmountGroup-AttributeGroup" usage="optional"/>
      </structure>
      <structure map-as="ns1:TimeDurationType" get-method="getMaximumTripLength" set-method="setMaximumTripLength" usage="optional" name="MaximumTripLength"/>
      <structure get-method="getCoveredTrips" set-method="setCoveredTrips" usage="optional" name="CoveredTrips">
        <collection get-method="getCoveredTripList" set-method="setCoveredTripList" create-type="java.util.ArrayList">
          <structure type="org.jibx.schema.org.opentravel._2012A.insurance.PlanSearchRQ$SearchTripInfo$CoveredTrips$CoveredTrip" name="CoveredTrip">
            <structure map-as="ns1:TripFeaturesType"/>
            <structure map-as="ns1:DateTimeSpanGroup-AttributeGroup" get-method="getDateTimeSpanGroup" set-method="setDateTimeSpanGroup" usage="optional"/>
            <value style="attribute" name="DepositDate" get-method="getDepositDate" set-method="setDepositDate" usage="optional" format="DateTime.UTC"/>
            <value style="attribute" name="FinalPayDate" get-method="getFinalPayDate" set-method="setFinalPayDate" usage="optional" format="DateTime.UTC"/>
          </structure>
        </collection>
      </structure>
    </structure>
    <structure get-method="getSearchTravInfo" set-method="setSearchTravInfo" usage="optional" name="SearchTravInfo">
      <structure get-method="getSearchTravelers" set-method="setSearchTravelers" usage="optional" name="SearchTravelers">
        <collection get-method="getSearchTravelerList" set-method="setSearchTravelerList" create-type="java.util.ArrayList">
          <structure map-as="ns1:SearchTravelerType" name="SearchTraveler"/>
        </collection>
      </structure>
      <structure map-as="ns1:CountryNameType" get-method="getCitizenCountryName" set-method="setCitizenCountryName" usage="optional" name="CitizenCountryName"/>
      <structure map-as="ns1:CountryNameType" get-method="getResidenceCountryName" set-method="setResidenceCountryName" usage="optional" name="ResidenceCountryName"/>
      <structure map-as="ns1:BoundedAffiliationsType" get-method="getAffiliations" set-method="setAffiliations" usage="optional" name="Affiliations"/>
      <value style="attribute" name="MinTravelers" get-method="getMinTravelers" set-method="setMinTravelers" usage="optional"/>
      <value style="attribute" name="MaxTravelers" get-method="getMaxTravelers" set-method="setMaxTravelers" usage="optional"/>
    </structure>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
    <value style="attribute" name="SearchResponseFilter" get-method="getSearchResponseFilter" set-method="setSearchResponseFilter" usage="optional"/>
    <value style="attribute" name="DetailResponse" get-method="isDetailResponse" set-method="setDetailResponse"/>
  </mapping>
  <mapping class="org.jibx.schema.org.opentravel._2012A.insurance.BookRS" name="OTA_InsuranceBookRS">
    <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"/>
        <collection get-method="getPlanForBookRSList" set-method="setPlanForBookRSList" create-type="java.util.ArrayList">
          <structure type="org.jibx.schema.org.opentravel._2012A.insurance.BookRS$PlanForBookRS" name="PlanForBookRS">
            <structure name="PolicyDetail">
              <structure map-as="ns1:UniqueID_Type" get-method="getPolicyDetailPolicyNumber" set-method="setPolicyDetailPolicyNumber" name="PolicyNumber"/>
              <collection get-method="getPolicyDetailRefNumberList" set-method="setPolicyDetailRefNumberList" usage="optional" create-type="java.util.ArrayList">
                <structure map-as="ns1:UniqueID_Type" name="RefNumber"/>
              </collection>
              <structure map-as="ns1:PlanRestrictionType" get-method="getPolicyDetailPlanRestrictions" set-method="setPolicyDetailPlanRestrictions" usage="optional" name="PlanRestrictions"/>
              <structure map-as="ns1:URL_Type" get-method="getPolicyDetailPolicyDetailURL" set-method="setPolicyDetailPolicyDetailURL" usage="optional" name="PolicyDetailURL"/>
              <value style="attribute" name="OrderDate" get-method="getPolicyDetailOrderDate" set-method="setPolicyDetailOrderDate" usage="optional" format="LocalDate.default"/>
              <structure map-as="ns1:EffectiveExpireOptionalDateGroup-AttributeGroup" get-method="getPolicyDetailEffectiveExpireOptionalDateGroup" set-method="setPolicyDetailEffectiveExpireOptionalDateGroup" usage="optional"/>
            </structure>
            <structure get-method="getCoveredTravelers" set-method="setCoveredTravelers" usage="optional" name="CoveredTravelers">
              <collection get-method="getCoveredTravelerList" set-method="setCoveredTravelerList" create-type="java.util.ArrayList">
                <structure map-as="ns1:CoveredTravelerType" name="CoveredTraveler"/>
              </collection>
            </structure>
            <structure map-as="ns1:InsCoverageDetailType" get-method="getInsCoverageDetail" set-method="setInsCoverageDetail" usage="optional" name="InsCoverageDetail"/>
            <structure map-as="ns1:PlanCostType" get-method="getPlanCost" set-method="setPlanCost" usage="optional" name="PlanCost"/>
            <collection get-method="getContactList" set-method="setContactList" usage="optional" create-type="java.util.ArrayList">
              <structure map-as="ns1:ContactPersonType" name="Contact"/>
            </collection>
            <structure map-as="ns1:PlanID_Group-AttributeGroup" get-method="getPlanIDGroup" set-method="setPlanIDGroup"/>
            <value style="attribute" name="RPH" get-method="getRPH" set-method="setRPH" usage="optional"/>
          </structure>
        </collection>
      </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._2012A.insurance.QuoteRQ" name="OTA_InsuranceQuoteRQ">
    <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" usage="optional" name="POS"/>
    <collection get-method="getPlanForQuoteRQList" set-method="setPlanForQuoteRQList" create-type="java.util.ArrayList">
      <structure type="org.jibx.schema.org.opentravel._2012A.insurance.QuoteRQ$PlanForQuoteRQ" name="PlanForQuoteRQ">
        <structure map-as="ns1:InsCoverageType"/>
        <structure map-as="ns1:InsuranceCustomerType" get-method="getInsuranceCustomer" set-method="setInsuranceCustomer" usage="optional" name="InsuranceCustomer"/>
      </structure>
    </collection>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
  </mapping>
  <mapping class="org.jibx.schema.org.opentravel._2012A.insurance.QuoteRS" name="OTA_InsuranceQuoteRS">
    <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"/>
        <collection get-method="getPlanForQuoteRSList" set-method="setPlanForQuoteRSList" create-type="java.util.ArrayList">
          <structure type="org.jibx.schema.org.opentravel._2012A.insurance.QuoteRS$PlanForQuoteRS" name="PlanForQuoteRS">
            <structure name="QuoteDetail">
              <structure map-as="ns1:CompanyNameType" get-method="getQuoteDetailProviderCompany" set-method="setQuoteDetailProviderCompany" name="ProviderCompany"/>
              <structure map-as="ns1:URL_Type" get-method="getQuoteDetailQuoteDetailURL" set-method="setQuoteDetailQuoteDetailURL" usage="optional" name="QuoteDetailURL"/>
              <structure map-as="ns1:PlanRestrictionType" get-method="getQuoteDetailPlanRestrictions" set-method="setQuoteDetailPlanRestrictions" usage="optional" name="PlanRestrictions"/>
              <structure map-as="ns1:URL_Type" get-method="getQuoteDetailBookingDetailURL" set-method="setQuoteDetailBookingDetailURL" usage="optional" name="BookingDetailURL"/>
              <structure map-as="ns1:EffectiveExpireOptionalDateGroup-AttributeGroup" get-method="getQuoteDetailEffectiveExpireOptionalDateGroup" set-method="setQuoteDetailEffectiveExpireOptionalDateGroup" usage="optional"/>
            </structure>
            <structure map-as="ns1:InsCoverageDetailType" get-method="getInsCoverageDetail" set-method="setInsCoverageDetail" usage="optional" name="InsCoverageDetail"/>
            <structure map-as="ns1:PlanCostType" get-method="getPlanCost" set-method="setPlanCost" name="PlanCost"/>
            <collection get-method="getContactList" set-method="setContactList" usage="optional" create-type="java.util.ArrayList">
              <structure map-as="ns1:ContactPersonType" name="Contact"/>
            </collection>
            <structure map-as="ns1:PlanID_Group-AttributeGroup" get-method="getPlanIDGroup" set-method="setPlanIDGroup"/>
            <value style="attribute" name="RPH" get-method="getRPH" set-method="setRPH" usage="optional"/>
          </structure>
        </collection>
      </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._2012A.insurance.BookRQ" name="OTA_InsuranceBookRQ">
    <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" usage="optional" name="POS"/>
    <collection get-method="getPlanForBookRQList" set-method="setPlanForBookRQList" create-type="java.util.ArrayList">
      <structure type="org.jibx.schema.org.opentravel._2012A.insurance.BookRQ$PlanForBookRQ" name="PlanForBookRQ">
        <structure map-as="ns1:InsCoverageType"/>
        <structure map-as="ns1:InsuranceCustomerType" get-method="getInsuranceCustomer" set-method="setInsuranceCustomer" name="InsuranceCustomer"/>
        <structure map-as="ns1:PlanCostType" get-method="getPlanCost" set-method="setPlanCost" usage="optional" name="PlanCost"/>
        <structure map-as="ns1:UniqueID_Type" get-method="getUniqueID" set-method="setUniqueID" usage="optional" name="UniqueID"/>
      </structure>
    </collection>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
  </mapping>
</binding>
New to GrepCode? Check out our FAQ X