Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.jibx.schema.org.opentravel._2012A.insurance;
  
  import java.util.List;
This message contains the container for insurance plan book requests. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OTA_InsuranceBookRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element name="PlanForBookRQ" maxOccurs="unbounded">
         <!-- Reference to inner class PlanForBookRQ -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 
 
 public class BookRQ
 {
     private POS POS;
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 list of 'PlanForBookRQ' element items.

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

    
Set the list of 'PlanForBookRQ' element items.

Parameters:
list
 
     public void setPlanForBookRQList(List<PlanForBookRQlist) {
          = list;
     }

    
Get the number of 'PlanForBookRQ' element items.

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

    
Add a 'PlanForBookRQ' element item.

Parameters:
item
 
     public void addPlanForBookRQ(PlanForBookRQ item) {
         .add(item);
     }

    
Get 'PlanForBookRQ' element item by position.

Parameters:
index
Returns:
item
 
     public PlanForBookRQ getPlanForBookRQ(int index) {
         return .get(index);
     }

    
Remove all 'PlanForBookRQ' element items.
    public void clearPlanForBookRQList() {
        .clear();
    }

    
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value
        return ;
    }

    
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes
    public void setOTAPayloadStdAttributes(
            OTAPayloadStdAttributes OTAPayloadStdAttributes) {
        this. = OTAPayloadStdAttributes;
    }
    
Contains a booking request for a single insurance plan. Schema fragment(s) for this class:
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PlanForBookRQ" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:InsCoverageType">
         <xs:sequence>
           <xs:element type="ns:InsuranceCustomerType" name="InsuranceCustomer"/>
           <xs:element type="ns:PlanCostType" name="PlanCost" minOccurs="0"/>
           <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
    public static class PlanForBookRQ extends InsCoverage
    {
        private InsuranceCustomer insuranceCustomer;
        private PlanCost planCost;
        private UniqueID uniqueID;

        
Get the 'InsuranceCustomer' element value.

Returns:
value
        public InsuranceCustomer getInsuranceCustomer() {
            return ;
        }

        
Set the 'InsuranceCustomer' element value.

Parameters:
insuranceCustomer
        public void setInsuranceCustomer(InsuranceCustomer insuranceCustomer) {
            this. = insuranceCustomer;
        }

        
Get the 'PlanCost' element value. Cost of insurance plan from initial quote (allows for price validation).

Returns:
value
        public PlanCost getPlanCost() {
            return ;
        }

        
Set the 'PlanCost' element value. Cost of insurance plan from initial quote (allows for price validation).

Parameters:
planCost
        public void setPlanCost(PlanCost planCost) {
            this. = planCost;
        }

        
Get the 'UniqueID' element value. Unique identifier associated with booking request message.

Returns:
value
        public UniqueID getUniqueID() {
            return ;
        }

        
Set the 'UniqueID' element value. Unique identifier associated with booking request message.

Parameters:
uniqueID
        public void setUniqueID(UniqueID uniqueID) {
            this. = uniqueID;
        }
    }
New to GrepCode? Check out our FAQ X