|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.cruise.CruisePackage
public class CruisePackage
Defines pre/post/shorex/bus/transfers packages 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="CruisePackageType"> <xs:sequence> <xs:element name="Location" minOccurs="0" maxOccurs="16"> <!-- Reference to inner class Location --> </xs:element> </xs:sequence> <xs:attribute type="xs:string" use="required" name="PackageTypeCode"/> <xs:attributeGroup ref="ns:CruisePackageGroup"/> <xs:attribute type="xs:string" use="optional" name="Status"/> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
CruisePackage.Location
Specifies the activity location (e.g., port city for excursion, bus stop for transfer). |
Constructor Summary | |
---|---|
CruisePackage()
|
Method Summary | |
---|---|
void |
addLocation(CruisePackage.Location item)
Add a 'Location' element item. |
void |
clearLocations()
Remove all 'Location' element items. |
CruisePackageGroup |
getCruisePackageGroup()
Get the 'CruisePackageGroup' attributeGroup value. |
CruisePackage.Location |
getLocation(int index)
Get 'Location' element item by position. |
java.util.List<CruisePackage.Location> |
getLocations()
Get the list of 'Location' element items. |
java.lang.String |
getPackageTypeCode()
Get the 'PackageTypeCode' attribute value. |
java.lang.String |
getStatus()
Get the 'Status' attribute value. |
void |
setCruisePackageGroup(CruisePackageGroup cruisePackageGroup)
Set the 'CruisePackageGroup' attributeGroup value. |
void |
setLocations(java.util.List<CruisePackage.Location> list)
Set the list of 'Location' element items. |
void |
setPackageTypeCode(java.lang.String packageTypeCode)
Set the 'PackageTypeCode' attribute value. |
void |
setStatus(java.lang.String status)
Set the 'Status' attribute value. |
int |
sizeLocations()
Get the number of 'Location' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CruisePackage()
Method Detail |
---|
public java.util.List<CruisePackage.Location> getLocations()
public void setLocations(java.util.List<CruisePackage.Location> list)
list
- public int sizeLocations()
public void addLocation(CruisePackage.Location item)
item
- public CruisePackage.Location getLocation(int index)
index
-
public void clearLocations()
public java.lang.String getPackageTypeCode()
public void setPackageTypeCode(java.lang.String packageTypeCode)
packageTypeCode
- public CruisePackageGroup getCruisePackageGroup()
public void setCruisePackageGroup(CruisePackageGroup cruisePackageGroup)
cruisePackageGroup
- public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |