org.ota.pkg
Class AvailRS.TravelChoices.TravelItem.TravelJourney

java.lang.Object
  extended by org.ota.pkg.AvailRS.TravelChoices.TravelItem.TravelJourney
Enclosing class:
AvailRS.TravelChoices.TravelItem

public static class AvailRS.TravelChoices.TravelItem.TravelJourney
extends java.lang.Object

Provides information on a complete travel journey. 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="TravelJourney" minOccurs="0">
   <xs:complexType>
     <xs:attributeGroup ref="ns:PkgTravelJourneyGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PkgTravelJourneyGroup">
   <xs:attribute type="xs:string" use="optional" name="Type"/>
   <xs:attribute type="xs:string" use="required" name="OriginAirportID"/>
   <xs:attribute type="xs:string" use="required" name="DestinationAirportID"/>
   <xs:attribute type="xs:dateTime" use="required" name="OutwardDateTime"/>
   <xs:attribute type="xs:dateTime" use="optional" name="ReturnDateTime"/>
   <xs:attribute type="xs:string" use="optional" name="TravelCode"/>
   <xs:attributeGroup ref="ns:CompanyID_AttributesGroup"/>
 </xs:attributeGroup>
 


Constructor Summary
AvailRS.TravelChoices.TravelItem.TravelJourney()
           
 
Method Summary
 CompanyIDAttributesGroup getCompanyIDAttributesGroup()
          Get the 'CompanyID_AttributesGroup' attributeGroup value.
 java.lang.String getDestinationAirportID()
          Get the 'DestinationAirportID' attribute value.
 java.lang.String getOriginAirportID()
          Get the 'OriginAirportID' attribute value.
 java.util.Date getOutwardDateTime()
          Get the 'OutwardDateTime' attribute value.
 java.util.Date getReturnDateTime()
          Get the 'ReturnDateTime' attribute value.
 java.lang.String getTravelCode()
          Get the 'TravelCode' attribute value.
 java.lang.String getType()
          Get the 'Type' attribute value.
 void setCompanyIDAttributesGroup(CompanyIDAttributesGroup companyIDAttributesGroup)
          Set the 'CompanyID_AttributesGroup' attributeGroup value.
 void setDestinationAirportID(java.lang.String destinationAirportID)
          Set the 'DestinationAirportID' attribute value.
 void setOriginAirportID(java.lang.String originAirportID)
          Set the 'OriginAirportID' attribute value.
 void setOutwardDateTime(java.util.Date outwardDateTime)
          Set the 'OutwardDateTime' attribute value.
 void setReturnDateTime(java.util.Date returnDateTime)
          Set the 'ReturnDateTime' attribute value.
 void setTravelCode(java.lang.String travelCode)
          Set the 'TravelCode' attribute value.
 void setType(java.lang.String type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.TravelChoices.TravelItem.TravelJourney

public AvailRS.TravelChoices.TravelItem.TravelJourney()
Method Detail

getType

public java.lang.String getType()
Get the 'Type' attribute value. The type of travel component - e.g. Air, Rail, Sea etc.

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value. The type of travel component - e.g. Air, Rail, Sea etc.

Parameters:
type -

getOriginAirportID

public java.lang.String getOriginAirportID()
Get the 'OriginAirportID' attribute value.

Returns:
value

setOriginAirportID

public void setOriginAirportID(java.lang.String originAirportID)
Set the 'OriginAirportID' attribute value.

Parameters:
originAirportID -

getDestinationAirportID

public java.lang.String getDestinationAirportID()
Get the 'DestinationAirportID' attribute value.

Returns:
value

setDestinationAirportID

public void setDestinationAirportID(java.lang.String destinationAirportID)
Set the 'DestinationAirportID' attribute value.

Parameters:
destinationAirportID -

getOutwardDateTime

public java.util.Date getOutwardDateTime()
Get the 'OutwardDateTime' attribute value.

Returns:
value

setOutwardDateTime

public void setOutwardDateTime(java.util.Date outwardDateTime)
Set the 'OutwardDateTime' attribute value.

Parameters:
outwardDateTime -

getReturnDateTime

public java.util.Date getReturnDateTime()
Get the 'ReturnDateTime' attribute value.

Returns:
value

setReturnDateTime

public void setReturnDateTime(java.util.Date returnDateTime)
Set the 'ReturnDateTime' attribute value.

Parameters:
returnDateTime -

getTravelCode

public java.lang.String getTravelCode()
Get the 'TravelCode' attribute value. The supplier's code to identify the travel arrangement for the package

Returns:
value

setTravelCode

public void setTravelCode(java.lang.String travelCode)
Set the 'TravelCode' attribute value. The supplier's code to identify the travel arrangement for the package

Parameters:
travelCode -

getCompanyIDAttributesGroup

public CompanyIDAttributesGroup getCompanyIDAttributesGroup()
Get the 'CompanyID_AttributesGroup' attributeGroup value.

Returns:
value

setCompanyIDAttributesGroup

public void setCompanyIDAttributesGroup(CompanyIDAttributesGroup companyIDAttributesGroup)
Set the 'CompanyID_AttributesGroup' attributeGroup value.

Parameters:
companyIDAttributesGroup -