|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.cruise.Guest
public class Guest
Provides information regarding the guest name and the guest's mode of transportation. 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="GuestType">
<xs:sequence>
<xs:element type="ns:PersonNameType" name="GuestName" minOccurs="0"/>
<xs:element type="ns:GuestTransportationType" name="GuestTransportation" minOccurs="0" maxOccurs="2"/>
</xs:sequence>
<xs:attributeGroup ref="ns:GuestInfoGroup"/>
</xs:complexType>
| Constructor Summary | |
|---|---|
Guest()
|
|
| Method Summary | |
|---|---|
void |
addGuestTransportation(GuestTransportation item)
Add a 'GuestTransportation' element item. |
void |
clearGuestTransportations()
Remove all 'GuestTransportation' element items. |
GuestInfoGroup |
getGuestInfoGroup()
Get the 'GuestInfoGroup' attributeGroup value. |
PersonName |
getGuestName()
Get the 'GuestName' element value. |
GuestTransportation |
getGuestTransportation(int index)
Get 'GuestTransportation' element item by position. |
java.util.List<GuestTransportation> |
getGuestTransportations()
Get the list of 'GuestTransportation' element items. |
void |
setGuestInfoGroup(GuestInfoGroup guestInfoGroup)
Set the 'GuestInfoGroup' attributeGroup value. |
void |
setGuestName(PersonName guestName)
Set the 'GuestName' element value. |
void |
setGuestTransportations(java.util.List<GuestTransportation> list)
Set the list of 'GuestTransportation' element items. |
int |
sizeGuestTransportations()
Get the number of 'GuestTransportation' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Guest()
| Method Detail |
|---|
public PersonName getGuestName()
public void setGuestName(PersonName guestName)
guestName - public java.util.List<GuestTransportation> getGuestTransportations()
public void setGuestTransportations(java.util.List<GuestTransportation> list)
list - public int sizeGuestTransportations()
public void addGuestTransportation(GuestTransportation item)
item - public GuestTransportation getGuestTransportation(int index)
index -
public void clearGuestTransportations()
public GuestInfoGroup getGuestInfoGroup()
public void setGuestInfoGroup(GuestInfoGroup guestInfoGroup)
guestInfoGroup -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||