Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.jibx.schema.org.opentravel._2012B.rail;
  
The rail availability request message requests train availability for a station pair on a specific date for a specific number and type of passengers. Optional request information can include: time and flexible time windows, connecting cities and client preferences. Additionally, this request can be narrowed to request availability for a specific train. 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_RailAvailRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element type="ns:MultiModalOfferType" name="MultimodalOffer" minOccurs="0"/>
       <xs:element name="RailAvailQuery">
         <xs:complexType>
           <xs:complexContent>
             <xs:extension base="ns:RailAvailQueryType">
               <xs:sequence>
                 <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
               </xs:sequence>
             </xs:extension>
           </xs:complexContent>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:MaxResponsesGroup"/>
   </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="MaxResponsesGroup">
   <xs:attribute type="xs:string" use="optional" name="MaxResponses"/>
 </xs:attributeGroup>
 
 
 public class AvailRQ
 {
     private POS POS;
     private MultiModalOffer multimodalOffer;
     private String maxResponses;

    
Get the 'POS' element value. Point of Sale Identification. Identification number of the vendor that has made the rail availability request and agency number assigned by IATA, ARC, ESRP or TID.

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

    
Set the 'POS' element value. Point of Sale Identification. Identification number of the vendor that has made the rail availability request and agency number assigned by IATA, ARC, ESRP or TID.

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

    
Get the 'MultimodalOffer' element value. Multimodal offer influencers.

Returns:
value
 
     public MultiModalOffer getMultimodalOffer() {
         return ;
     }

    
Set the 'MultimodalOffer' element value. Multimodal offer influencers.

Parameters:
multimodalOffer
 
     public void setMultimodalOffer(MultiModalOffer multimodalOffer) {
         this. = multimodalOffer;
     }

    
Get the extension value.

Returns:
value
 
         return ;
     }

    
Set the extension value.

Parameters:
railAvailQueryRailAvailQuery
    public void setRailAvailQueryRailAvailQuery(
            RailAvailQuery railAvailQueryRailAvailQuery) {
        this. = railAvailQueryRailAvailQuery;
    }

    
Get the 'TPA_Extensions' element value.

Returns:
value
        return ;
    }

    
Set the 'TPA_Extensions' element value.

Parameters:
railAvailQueryTPAExtensions
    public void setRailAvailQueryTPAExtensions(
            TPAExtensions railAvailQueryTPAExtensions) {
        this. = railAvailQueryTPAExtensions;
    }

    
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 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

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

    
Set the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Parameters:
maxResponses
    public void setMaxResponses(String maxResponses) {
        this. = maxResponses;
    }
New to GrepCode? Check out our FAQ X