Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.jibx.schema.org.opentravel._2012B.insurance;
  
  import java.util.List;
This message contains the root element for insurance plan search request. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OTA_InsurancePlanSearchRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="CoveragePreferences" minOccurs="0">
         <!-- Reference to inner class CoveragePreferences -->
       </xs:element>
       <xs:element name="SearchTripInfo" minOccurs="0">
         <!-- Reference to inner class SearchTripInfo -->
       </xs:element>
       <xs:element name="SearchTravInfo" minOccurs="0">
         <!-- Reference to inner class SearchTravInfo -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attribute type="xs:string" use="optional" name="SearchResponseFilter"/>
     <xs:attributeGroup ref="ns:DetailResponseGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DetailResponseGroup">
   <xs:attribute type="xs:boolean" use="required" name="DetailResponse"/>
 </xs:attributeGroup>
 
 
 public class PlanSearchRQ
 {
     private POS POS;
     private SearchTripInfo searchTripInfo;
     private SearchTravInfo searchTravInfo;
     private String searchResponseFilter;
     private boolean detailResponse;

    
Get the 'POS' element value. Allows vendors to pass an number of identifying codes to the insurance provider so that the provider can retrieve the plans available to that specific vendor.

Returns:
value
 
     public POS getPOS() {
         return ;
     }

    
Set the 'POS' element value. Allows vendors to pass an number of identifying codes to the insurance provider so that the provider can retrieve the plans available to that specific vendor.

Parameters:
POS
 
     public void setPOS(POS POS) {
         this. = POS;
     }

    
Get the 'CoveragePreferences' element value.

Returns:
value
 
         return ;
     }

    
Set the 'CoveragePreferences' element value.

Parameters:
coveragePreferences
 
     public void setCoveragePreferences(CoveragePreferences coveragePreferences) {
         this. = coveragePreferences;
     }

    
Get the 'SearchTripInfo' element value.

Returns:
value
 
    public SearchTripInfo getSearchTripInfo() {
        return ;
    }

    
Set the 'SearchTripInfo' element value.

Parameters:
searchTripInfo
    public void setSearchTripInfo(SearchTripInfo searchTripInfo) {
        this. = searchTripInfo;
    }

    
Get the 'SearchTravInfo' element value.

Returns:
value
    public SearchTravInfo getSearchTravInfo() {
        return ;
    }

    
Set the 'SearchTravInfo' element value.

Parameters:
searchTravInfo
    public void setSearchTravInfo(SearchTravInfo searchTravInfo) {
        this. = searchTravInfo;
    }

    
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value
        return ;
    }

    
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes
    public void setOTAPayloadStdAttributes(
            OTAPayloadStdAttributes OTAPayloadStdAttributes) {
        this. = OTAPayloadStdAttributes;
    }

    
Get the 'SearchResponseFilter' attribute value. Specifies which type of plans should be returned in the response (e.g. featured only, featured and preferred, all). Refer to OpenTravel Code List Search Response Filter (SRF).

Returns:
value
    public String getSearchResponseFilter() {
        return ;
    }

    
Set the 'SearchResponseFilter' attribute value. Specifies which type of plans should be returned in the response (e.g. featured only, featured and preferred, all). Refer to OpenTravel Code List Search Response Filter (SRF).

Parameters:
searchResponseFilter
    public void setSearchResponseFilter(String searchResponseFilter) {
        this. = searchResponseFilter;
    }

    
Get the 'DetailResponse' attribute value. To indicate whether full details should be returned in the response. "True" indicates details should be included and "false" means details are not required.

Returns:
value
    public boolean isDetailResponse() {
        return ;
    }

    
Set the 'DetailResponse' attribute value. To indicate whether full details should be returned in the response. "True" indicates details should be included and "false" means details are not required.

Parameters:
detailResponse
    public void setDetailResponse(boolean detailResponse) {
        this. = detailResponse;
    }
    
Collection of insurance coverage preferences used in the advance plan search feature. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CoveragePreferences" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="CoveragePreference" maxOccurs="99">
         <!-- Reference to inner class CoveragePreference -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
    public static class CoveragePreferences
    {
        private List<CoveragePreferencecoveragePreferenceList = new ArrayList<CoveragePreference>();

        
Get the list of 'CoveragePreference' element items.

Returns:
list
            return ;
        }

        
Set the list of 'CoveragePreference' element items.

Parameters:
list
        public void setCoveragePreferenceList(List<CoveragePreferencelist) {
             = list;
        }

        
Get the number of 'CoveragePreference' element items.

Returns:
count
        public int sizeCoveragePreferenceList() {
            return .size();
        }

        
Add a 'CoveragePreference' element item.

Parameters:
item
        public void addCoveragePreference(CoveragePreference item) {
            .add(item);
        }

        
Get 'CoveragePreference' element item by position.

Parameters:
index
Returns:
item
        public CoveragePreference getCoveragePreference(int index) {
            return .get(index);
        }

        
Remove all 'CoveragePreference' element items.
        public void clearCoveragePreferenceList() {
            .clear();
        }
        
Lists a specific insurance coverage type (baggage, medical, etc) to search for and allows searcher to specify preferences on different coverages. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CoveragePreference" maxOccurs="99">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:CoverageLimitType">
         <xs:attributeGroup ref="ns:PreferLevelGroup"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup">
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 
        public static class CoveragePreference extends CoverageLimit
        {
            private PreferLevel preferLevel;

            
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item.

Returns:
value
            public PreferLevel getPreferLevel() {
                return ;
            }

            
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item.

Parameters:
preferLevel
            public void setPreferLevel(PreferLevel preferLevel) {
                this. = preferLevel;
            }
        }
    }
    
Collection of information about the trips for which insurance coverage is being searched for. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SearchTripInfo" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="xs:string" name="TravelSector" minOccurs="0" maxOccurs="5"/>
       <xs:element name="TotalTripCost" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:TimeDurationType" name="MaximumTripLength" minOccurs="0"/>
       <xs:element name="CoveredTrips" minOccurs="0">
         <!-- Reference to inner class CoveredTrips -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
    public static class SearchTripInfo
    {
        private List<StringtravelSectorList = new ArrayList<String>();
        private CurrencyAmountGroup totalTripCost;
        private TimeDuration maximumTripLength;
        private CoveredTrips coveredTrips;

        
Get the list of 'TravelSector' element items. Code used to indicate the travel sector (air, car, hotel, cruise) associated with the trips. Refer to OpenTravel Code List Travel Sector (TVS).

Returns:
list
        public List<StringgetTravelSectorList() {
            return ;
        }

        
Set the list of 'TravelSector' element items. Code used to indicate the travel sector (air, car, hotel, cruise) associated with the trips. Refer to OpenTravel Code List Travel Sector (TVS).

Parameters:
list
        public void setTravelSectorList(List<Stringlist) {
             = list;
        }

        
Get the number of 'TravelSector' element items.

Returns:
count
        public int sizeTravelSectorList() {
            return .size();
        }

        
Add a 'TravelSector' element item.

Parameters:
item
        public void addTravelSector(String item) {
            .add(item);
        }

        
Get 'TravelSector' element item by position.

Parameters:
index
Returns:
item
        public String getTravelSector(int index) {
            return .get(index);
        }

        
Remove all 'TravelSector' element items.
        public void clearTravelSectorList() {
            .clear();
        }

        
Get the 'CurrencyAmountGroup' attributeGroup value. Estimated trip cost, or the total price of the journey for the traveler(s).

Returns:
value
        public CurrencyAmountGroup getTotalTripCost() {
            return ;
        }

        
Set the 'CurrencyAmountGroup' attributeGroup value. Estimated trip cost, or the total price of the journey for the traveler(s).

Parameters:
totalTripCost
        public void setTotalTripCost(CurrencyAmountGroup totalTripCost) {
            this. = totalTripCost;
        }

        
Get the 'MaximumTripLength' element value. The maximum trip length the traveler(s) plan on taking during the period of coverage (Multi-Trip plans only).

Returns:
value
        public TimeDuration getMaximumTripLength() {
            return ;
        }

        
Set the 'MaximumTripLength' element value. The maximum trip length the traveler(s) plan on taking during the period of coverage (Multi-Trip plans only).

Parameters:
maximumTripLength
        public void setMaximumTripLength(TimeDuration maximumTripLength) {
            this. = maximumTripLength;
        }

        
Get the 'CoveredTrips' element value.

Returns:
value
        public CoveredTrips getCoveredTrips() {
            return ;
        }

        
Set the 'CoveredTrips' element value.

Parameters:
coveredTrips
        public void setCoveredTrips(CoveredTrips coveredTrips) {
            this. = coveredTrips;
        }
        
Container for any information about the trip(s) for which the traveler(s) are requesting coverage. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CoveredTrips" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="CoveredTrip" maxOccurs="99">
         <!-- Reference to inner class CoveredTrip -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
        public static class CoveredTrips
        {
            private List<CoveredTripcoveredTripList = new ArrayList<CoveredTrip>();

            
Get the list of 'CoveredTrip' element items.

Returns:
list
            public List<CoveredTripgetCoveredTripList() {
                return ;
            }

            
Set the list of 'CoveredTrip' element items.

Parameters:
list
            public void setCoveredTripList(List<CoveredTriplist) {
                 = list;
            }

            
Get the number of 'CoveredTrip' element items.

Returns:
count
            public int sizeCoveredTripList() {
                return .size();
            }

            
Add a 'CoveredTrip' element item.

Parameters:
item
            public void addCoveredTrip(CoveredTrip item) {
                .add(item);
            }

            
Get 'CoveredTrip' element item by position.

Parameters:
index
Returns:
item
            public CoveredTrip getCoveredTrip(int index) {
                return .get(index);
            }

            
Remove all 'CoveredTrip' element items.
            public void clearCoveredTripList() {
                .clear();
            }
            
Information about a single trip for which the traveler(s) are requesting coverage. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CoveredTrip" maxOccurs="99">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:TripFeaturesType">
         <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
         <xs:attribute type="xs:dateTime" use="optional" name="DepositDate"/>
         <xs:attribute type="xs:dateTime" use="optional" name="FinalPayDate"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
            public static class CoveredTrip extends TripFeatures
            {
                private DateTimeSpanGroup dateTimeSpanGroup;
                private DateTime depositDate;
                private DateTime finalPayDate;

                
Get the 'DateTimeSpanGroup' attributeGroup value.

Returns:
value
                public DateTimeSpanGroup getDateTimeSpanGroup() {
                    return ;
                }

                
Set the 'DateTimeSpanGroup' attributeGroup value.

Parameters:
dateTimeSpanGroup
                public void setDateTimeSpanGroup(
                        DateTimeSpanGroup dateTimeSpanGroup) {
                    this. = dateTimeSpanGroup;
                }

                
Get the 'DepositDate' attribute value. The date by which a deposit for the trip insurance is due.

Returns:
value
                public DateTime getDepositDate() {
                    return ;
                }

                
Set the 'DepositDate' attribute value. The date by which a deposit for the trip insurance is due.

Parameters:
depositDate
                public void setDepositDate(DateTime depositDate) {
                    this. = depositDate;
                }

                
Get the 'FinalPayDate' attribute value. The date by which the full payment for the trip insurance is due.

Returns:
value
                public DateTime getFinalPayDate() {
                    return ;
                }

                
Set the 'FinalPayDate' attribute value. The date by which the full payment for the trip insurance is due.

Parameters:
finalPayDate
                public void setFinalPayDate(DateTime finalPayDate) {
                    this. = finalPayDate;
                }
            }
        }
    }
    
Collection of information about the travelers for which insurance coverage is being searched for. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SearchTravInfo" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="SearchTravelers" minOccurs="0">
         <!-- Reference to inner class SearchTravelers -->
       </xs:element>
       <xs:element type="ns:CountryNameType" name="CitizenCountryName" minOccurs="0"/>
       <xs:element type="ns:CountryNameType" name="ResidenceCountryName" minOccurs="0"/>
       <xs:element type="ns:BoundedAffiliationsType" name="Affiliations" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="MinTravelers"/>
     <xs:attribute type="xs:string" use="optional" name="MaxTravelers"/>
   </xs:complexType>
 </xs:element>
 
    public static class SearchTravInfo
    {
        private SearchTravelers searchTravelers;
        private CountryName citizenCountryName;
        private CountryName residenceCountryName;
        private BoundedAffiliations affiliations;
        private String minTravelers;
        private String maxTravelers;

        
Get the 'SearchTravelers' element value.

Returns:
value
        public SearchTravelers getSearchTravelers() {
            return ;
        }

        
Set the 'SearchTravelers' element value.

Parameters:
searchTravelers
        public void setSearchTravelers(SearchTravelers searchTravelers) {
            this. = searchTravelers;
        }

        
Get the 'CitizenCountryName' element value. Citizenship information about the traveling group (if all travelers are of same citizenship type.)

Returns:
value
        public CountryName getCitizenCountryName() {
            return ;
        }

        
Set the 'CitizenCountryName' element value. Citizenship information about the traveling group (if all travelers are of same citizenship type.)

Parameters:
citizenCountryName
        public void setCitizenCountryName(CountryName citizenCountryName) {
            this. = citizenCountryName;
        }

        
Get the 'ResidenceCountryName' element value. Residency information about the traveling group (if all travelers are from same country of residence.)

Returns:
value
        public CountryName getResidenceCountryName() {
            return ;
        }

        
Set the 'ResidenceCountryName' element value. Residency information about the traveling group (if all travelers are from same country of residence.)

Parameters:
residenceCountryName
        public void setResidenceCountryName(CountryName residenceCountryName) {
            this. = residenceCountryName;
        }

        
Get the 'Affiliations' element value. Container of objects used to associate traveling group with larger organizations (travel clubs, employers, etc).

Returns:
value
        public BoundedAffiliations getAffiliations() {
            return ;
        }

        
Set the 'Affiliations' element value. Container of objects used to associate traveling group with larger organizations (travel clubs, employers, etc).

Parameters:
affiliations
        public void setAffiliations(BoundedAffiliations affiliations) {
            this. = affiliations;
        }

        
Get the 'MinTravelers' attribute value. The minimum size of the group of travelers for which the coverage search is being performed.

Returns:
value
        public String getMinTravelers() {
            return ;
        }

        
Set the 'MinTravelers' attribute value. The minimum size of the group of travelers for which the coverage search is being performed.

Parameters:
minTravelers
        public void setMinTravelers(String minTravelers) {
            this. = minTravelers;
        }

        
Get the 'MaxTravelers' attribute value. The maximum size of the group of travelers for which the coverage search is being performed.

Returns:
value
        public String getMaxTravelers() {
            return ;
        }

        
Set the 'MaxTravelers' attribute value. The maximum size of the group of travelers for which the coverage search is being performed.

Parameters:
maxTravelers
        public void setMaxTravelers(String maxTravelers) {
            this. = maxTravelers;
        }
        
Collection of individual traveler objects containing information about each traveler pertaining to the insurance search. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SearchTravelers" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:SearchTravelerType" name="SearchTraveler" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
        public static class SearchTravelers
        {
            private List<SearchTravelersearchTravelerList = new ArrayList<SearchTraveler>();

            
Get the list of 'SearchTraveler' element items. Represents general information about a single traveler for which insurance coverage is being sought.

Returns:
list
            public List<SearchTravelergetSearchTravelerList() {
                return ;
            }

            
Set the list of 'SearchTraveler' element items. Represents general information about a single traveler for which insurance coverage is being sought.

Parameters:
list
            public void setSearchTravelerList(List<SearchTravelerlist) {
                 = list;
            }

            
Get the number of 'SearchTraveler' element items.

Returns:
count
            public int sizeSearchTravelerList() {
                return .size();
            }

            
Add a 'SearchTraveler' element item.

Parameters:
item
            public void addSearchTraveler(SearchTraveler item) {
                .add(item);
            }

            
Get 'SearchTraveler' element item by position.

Parameters:
index
Returns:
item
            public SearchTraveler getSearchTraveler(int index) {
                return .get(index);
            }

            
Remove all 'SearchTraveler' element items.
            public void clearSearchTravelerList() {
                .clear();
            }
        }
    }
New to GrepCode? Check out our FAQ X