|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.tour.TourInformation
public class TourInformation
The TourDescriptiveContent element contains the descriptive information about a tour. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TourInformationType">
<xs:sequence>
<xs:element name="TourName">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" use="optional" name="ShortName"/>
<xs:attribute type="xs:string" use="optional" name="ID"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element type="ns:MultimediaDescriptionsType" name="MultimediaDescriptions" minOccurs="0"/>
<xs:element name="Destination" minOccurs="0" maxOccurs="9">
<!-- Reference to inner class Destination -->
</xs:element>
<xs:element name="Category" minOccurs="0" maxOccurs="5">
<!-- Reference to inner class Category -->
</xs:element>
<xs:element name="Keywords" minOccurs="0">
<!-- Reference to inner class Keywords -->
</xs:element>
<xs:element type="ns:FeeType" name="Charge" minOccurs="0"/>
<xs:element name="Duration" minOccurs="0">
<!-- Reference to inner class Duration -->
</xs:element>
<xs:element name="Departures" minOccurs="0">
<!-- Reference to inner class Departures -->
</xs:element>
<xs:element name="PolicyInfo" minOccurs="0">
<!-- Reference to inner class PolicyInfo -->
</xs:element>
<xs:element type="ns:ContactInfoType" name="SupplierInfo" minOccurs="0"/>
<xs:element name="Language" minOccurs="0" maxOccurs="9">
<!-- Reference to inner class Language -->
</xs:element>
<xs:element type="ns:URLsType" name="URLs" minOccurs="0" maxOccurs="5"/>
<xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
</xs:sequence>
<xs:attribute type="xs:string" use="optional" name="LanguageCode"/>
<xs:attribute type="xs:string" use="optional" name="TimeZone"/>
<xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
<xs:attributeGroup ref="ns:DateTimeStampGroup"/>
</xs:complexType>
<xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
| Nested Class Summary | |
|---|---|
static class |
TourInformation.Category
Provides information on a specific aspect of a tour. |
static class |
TourInformation.Departures
A collection of departure dates and times. |
static class |
TourInformation.Destination
Identifies the location of the tour. |
static class |
TourInformation.Duration
Provides the duration for the tour. |
static class |
TourInformation.Keywords
A collection of keywords relevant to search for tours. |
static class |
TourInformation.Language
Languages spoken by the tour staff. |
static class |
TourInformation.PolicyInfo
Policy information pertaining to the tour. |
| Constructor Summary | |
|---|---|
TourInformation()
|
|
| Method Summary | |
|---|---|
void |
addCategory(TourInformation.Category item)
Add a 'Category' element item. |
void |
addDestination(TourInformation.Destination item)
Add a 'Destination' element item. |
void |
addLanguage(TourInformation.Language item)
Add a 'Language' element item. |
void |
addURL(URLs item)
Add a 'URLs' element item. |
void |
clearCategories()
Remove all 'Category' element items. |
void |
clearDestinations()
Remove all 'Destination' element items. |
void |
clearLanguages()
Remove all 'Language' element items. |
void |
clearURLs()
Remove all 'URLs' element items. |
java.util.List<TourInformation.Category> |
getCategories()
Get the list of 'Category' element items. |
TourInformation.Category |
getCategory(int index)
Get 'Category' element item by position. |
Fee |
getCharge()
Get the 'Charge' element value. |
DateTimeSpanGroup |
getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. |
DateTimeStampGroup |
getDateTimeStampGroup()
Get the 'DateTimeStampGroup' attributeGroup value. |
TourInformation.Departures |
getDepartures()
Get the 'Departures' element value. |
TourInformation.Destination |
getDestination(int index)
Get 'Destination' element item by position. |
java.util.List<TourInformation.Destination> |
getDestinations()
Get the list of 'Destination' element items. |
TourInformation.Duration |
getDuration()
Get the 'Duration' element value. |
TourInformation.Keywords |
getKeywords()
Get the 'Keywords' element value. |
TourInformation.Language |
getLanguage(int index)
Get 'Language' element item by position. |
java.lang.String |
getLanguageCode()
Get the 'LanguageCode' attribute value. |
java.util.List<TourInformation.Language> |
getLanguages()
Get the list of 'Language' element items. |
MultimediaDescriptions |
getMultimediaDescriptions()
Get the 'MultimediaDescriptions' element value. |
TourInformation.PolicyInfo |
getPolicyInfo()
Get the 'PolicyInfo' element value. |
ContactInfo |
getSupplierInfo()
Get the 'SupplierInfo' element value. |
java.lang.String |
getTimeZone()
Get the 'TimeZone' attribute value. |
java.lang.String |
getTourNameID()
Get the 'ID' attribute value. |
java.lang.String |
getTourNameShortName()
Get the 'ShortName' attribute value. |
java.lang.String |
getTourNameString()
Get the extension value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
URLs |
getURL(int index)
Get 'URLs' element item by position. |
java.util.List<URLs> |
getURLs()
Get the list of 'URLs' element items. |
void |
setCategories(java.util.List<TourInformation.Category> list)
Set the list of 'Category' element items. |
void |
setCharge(Fee charge)
Set the 'Charge' element value. |
void |
setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. |
void |
setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
Set the 'DateTimeStampGroup' attributeGroup value. |
void |
setDepartures(TourInformation.Departures departures)
Set the 'Departures' element value. |
void |
setDestinations(java.util.List<TourInformation.Destination> list)
Set the list of 'Destination' element items. |
void |
setDuration(TourInformation.Duration duration)
Set the 'Duration' element value. |
void |
setKeywords(TourInformation.Keywords keywords)
Set the 'Keywords' element value. |
void |
setLanguageCode(java.lang.String languageCode)
Set the 'LanguageCode' attribute value. |
void |
setLanguages(java.util.List<TourInformation.Language> list)
Set the list of 'Language' element items. |
void |
setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
Set the 'MultimediaDescriptions' element value. |
void |
setPolicyInfo(TourInformation.PolicyInfo policyInfo)
Set the 'PolicyInfo' element value. |
void |
setSupplierInfo(ContactInfo supplierInfo)
Set the 'SupplierInfo' element value. |
void |
setTimeZone(java.lang.String timeZone)
Set the 'TimeZone' attribute value. |
void |
setTourNameID(java.lang.String tourNameID)
Set the 'ID' attribute value. |
void |
setTourNameShortName(java.lang.String tourNameShortName)
Set the 'ShortName' attribute value. |
void |
setTourNameString(java.lang.String tourNameString)
Set the extension value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setURLs(java.util.List<URLs> list)
Set the list of 'URLs' element items. |
int |
sizeCategories()
Get the number of 'Category' element items. |
int |
sizeDestinations()
Get the number of 'Destination' element items. |
int |
sizeLanguages()
Get the number of 'Language' element items. |
int |
sizeURLs()
Get the number of 'URLs' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TourInformation()
| Method Detail |
|---|
public java.lang.String getTourNameString()
public void setTourNameString(java.lang.String tourNameString)
tourNameString - public java.lang.String getTourNameShortName()
public void setTourNameShortName(java.lang.String tourNameShortName)
tourNameShortName - public java.lang.String getTourNameID()
public void setTourNameID(java.lang.String tourNameID)
tourNameID - public MultimediaDescriptions getMultimediaDescriptions()
public void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
multimediaDescriptions - public java.util.List<TourInformation.Destination> getDestinations()
public void setDestinations(java.util.List<TourInformation.Destination> list)
list - public int sizeDestinations()
public void addDestination(TourInformation.Destination item)
item - public TourInformation.Destination getDestination(int index)
index -
public void clearDestinations()
public java.util.List<TourInformation.Category> getCategories()
public void setCategories(java.util.List<TourInformation.Category> list)
list - public int sizeCategories()
public void addCategory(TourInformation.Category item)
item - public TourInformation.Category getCategory(int index)
index -
public void clearCategories()
public TourInformation.Keywords getKeywords()
public void setKeywords(TourInformation.Keywords keywords)
keywords - public Fee getCharge()
public void setCharge(Fee charge)
charge - public TourInformation.Duration getDuration()
public void setDuration(TourInformation.Duration duration)
duration - public TourInformation.Departures getDepartures()
public void setDepartures(TourInformation.Departures departures)
departures - public TourInformation.PolicyInfo getPolicyInfo()
public void setPolicyInfo(TourInformation.PolicyInfo policyInfo)
policyInfo - public ContactInfo getSupplierInfo()
public void setSupplierInfo(ContactInfo supplierInfo)
supplierInfo - public java.util.List<TourInformation.Language> getLanguages()
public void setLanguages(java.util.List<TourInformation.Language> list)
list - public int sizeLanguages()
public void addLanguage(TourInformation.Language item)
item - public TourInformation.Language getLanguage(int index)
index -
public void clearLanguages()
public java.util.List<URLs> getURLs()
public void setURLs(java.util.List<URLs> list)
list - public int sizeURLs()
public void addURL(URLs item)
item - public URLs getURL(int index)
index -
public void clearURLs()
public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions - public java.lang.String getLanguageCode()
public void setLanguageCode(java.lang.String languageCode)
languageCode - public java.lang.String getTimeZone()
public void setTimeZone(java.lang.String timeZone)
timeZone - public DateTimeSpanGroup getDateTimeSpanGroup()
public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
dateTimeSpanGroup - public DateTimeStampGroup getDateTimeStampGroup()
public void setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
dateTimeStampGroup -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||