Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.jibx.schema.org.opentravel._2012A.cruise;
  
The itinerary description request message is used to request the itinerary description on a specific cruise booking. 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_CruiseItineraryDescRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element type="ns:UniqueID_Type" name="ReservationID" minOccurs="0"/>
       <xs:element name="SelectedSailing" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:SelectedSailingGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element name="PackageOption" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CruisePackageGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 
 
 public class ItineraryDescRQ
 {
     private POS POS;
     private UniqueID reservationID;
     private CruisePackageGroup packageOption;
Get the 'POS' element value. Point of sale object.

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

    
Set the 'POS' element value. Point of sale object.

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

    
Get the 'ReservationID' element value. Contains the reservation ID of a booking.

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

    
Set the 'ReservationID' element value. Contains the reservation ID of a booking.

Parameters:
reservationID
 
     public void setReservationID(UniqueID reservationID) {
         this. = reservationID;
     }

    
Get the 'SelectedSailingGroup' attributeGroup value. Contains information related to the selected sailing.

Returns:
value
 
         return ;
     }

    
Set the 'SelectedSailingGroup' attributeGroup value. Contains information related to the selected sailing.

Parameters:
selectedSailing
 
     public void setSelectedSailing(SelectedSailingGroup selectedSailing) {
         this. = selectedSailing;
     }

    
Get the 'CruisePackageGroup' attributeGroup value. Allows to query for package options that the cruise might offer with the sailing.

Returns:
value
        return ;
    }

    
Set the 'CruisePackageGroup' attributeGroup value. Allows to query for package options that the cruise might offer with the sailing.

Parameters:
packageOption
    public void setPackageOption(CruisePackageGroup packageOption) {
        this. = packageOption;
    }

    
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value
        return ;
    }

    
Set the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

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