org.ota.hotel
Class ResGuests.ResGuest

java.lang.Object
  extended by org.ota.hotel.ResGuests.ResGuest
Enclosing class:
ResGuests

public static class ResGuests.ResGuest
extends java.lang.Object

The ResGuest object contains the information about a guest associated with a reservation. 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="ResGuest" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ProfilesType" name="Profiles" minOccurs="0"/>
       <xs:element type="ns:SpecialRequestType" name="SpecialRequests" minOccurs="0"/>
       <xs:element type="ns:CommentType" name="Comments" minOccurs="0"/>
       <xs:element type="ns:ServiceRPHsType" name="ServiceRPHs" minOccurs="0"/>
       <xs:element name="ProfileRPHs" minOccurs="0">
         <!-- Reference to inner class ProfileRPHs -->
       </xs:element>
       <xs:element type="ns:TransportInfoType" name="ArrivalTransport" minOccurs="0"/>
       <xs:element type="ns:TransportInfoType" name="DepartureTransport" minOccurs="0"/>
       <xs:element type="ns:GuestCountType" name="GuestCounts" minOccurs="0"/>
       <xs:element type="ns:DateTimeSpanType" name="InHouseTimeSpan" minOccurs="0"/>
       <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="ResGuestRPH"/>
     <xs:attribute type="xs:string" use="optional" name="AgeQualifyingCode"/>
     <xs:attribute type="xs:time" use="optional" name="ArrivalTime"/>
     <xs:attribute type="xs:time" use="optional" name="DepartureTime"/>
     <xs:attribute type="xs:string" use="optional" name="GroupEventCode"/>
     <xs:attribute type="xs:boolean" use="optional" name="VIP"/>
     <xs:attribute type="xs:boolean" use="optional" name="PrimaryIndicator"/>
     <xs:attribute type="xs:int" use="optional" name="Age"/>
     <xs:attributeGroup ref="ns:LocationGroup"/>
     <xs:attribute type="ns:ActionType" use="optional" name="Action"/>
   </xs:complexType>
 </xs:element>
 
 <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 ResGuests.ResGuest.ProfileRPHs
          Collection of ProfileRPH.
 
Constructor Summary
ResGuests.ResGuest()
           
 
Method Summary
 Action getAction()
          Get the 'Action' attribute value.
 java.lang.Integer getAge()
          Get the 'Age' attribute value.
 java.lang.String getAgeQualifyingCode()
          Get the 'AgeQualifyingCode' attribute value.
 java.sql.Time getArrivalTime()
          Get the 'ArrivalTime' attribute value.
 TransportInfo getArrivalTransport()
          Get the 'ArrivalTransport' element value.
 Comment getComments()
          Get the 'Comments' element value.
 java.sql.Time getDepartureTime()
          Get the 'DepartureTime' attribute value.
 TransportInfo getDepartureTransport()
          Get the 'DepartureTransport' element value.
 java.lang.String getGroupEventCode()
          Get the 'GroupEventCode' attribute value.
 GuestCount getGuestCounts()
          Get the 'GuestCounts' element value.
 DateTimeSpan getInHouseTimeSpan()
          Get the 'InHouseTimeSpan' element value.
 LocationGroup getLocationGroup()
          Get the 'LocationGroup' attributeGroup value.
 java.lang.Boolean getPrimaryIndicator()
          Get the 'PrimaryIndicator' attribute value.
 ResGuests.ResGuest.ProfileRPHs getProfileRPHs()
          Get the 'ProfileRPHs' element value.
 Profiles getProfiles()
          Get the 'Profiles' element value.
 java.lang.String getResGuestRPH()
          Get the 'ResGuestRPH' attribute value.
 ServiceRPHs getServiceRPHs()
          Get the 'ServiceRPHs' element value.
 SpecialRequest getSpecialRequests()
          Get the 'SpecialRequests' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 java.lang.Boolean getVIP()
          Get the 'VIP' attribute value.
 void setAction(Action action)
          Set the 'Action' attribute value.
 void setAge(java.lang.Integer age)
          Set the 'Age' attribute value.
 void setAgeQualifyingCode(java.lang.String ageQualifyingCode)
          Set the 'AgeQualifyingCode' attribute value.
 void setArrivalTime(java.sql.Time arrivalTime)
          Set the 'ArrivalTime' attribute value.
 void setArrivalTransport(TransportInfo arrivalTransport)
          Set the 'ArrivalTransport' element value.
 void setComments(Comment comments)
          Set the 'Comments' element value.
 void setDepartureTime(java.sql.Time departureTime)
          Set the 'DepartureTime' attribute value.
 void setDepartureTransport(TransportInfo departureTransport)
          Set the 'DepartureTransport' element value.
 void setGroupEventCode(java.lang.String groupEventCode)
          Set the 'GroupEventCode' attribute value.
 void setGuestCounts(GuestCount guestCounts)
          Set the 'GuestCounts' element value.
 void setInHouseTimeSpan(DateTimeSpan inHouseTimeSpan)
          Set the 'InHouseTimeSpan' element value.
 void setLocationGroup(LocationGroup locationGroup)
          Set the 'LocationGroup' attributeGroup value.
 void setPrimaryIndicator(java.lang.Boolean primaryIndicator)
          Set the 'PrimaryIndicator' attribute value.
 void setProfileRPHs(ResGuests.ResGuest.ProfileRPHs profileRPHs)
          Set the 'ProfileRPHs' element value.
 void setProfiles(Profiles profiles)
          Set the 'Profiles' element value.
 void setResGuestRPH(java.lang.String resGuestRPH)
          Set the 'ResGuestRPH' attribute value.
 void setServiceRPHs(ServiceRPHs serviceRPHs)
          Set the 'ServiceRPHs' element value.
 void setSpecialRequests(SpecialRequest specialRequests)
          Set the 'SpecialRequests' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setVIP(java.lang.Boolean VIP)
          Set the 'VIP' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResGuests.ResGuest

public ResGuests.ResGuest()
Method Detail

getProfiles

public Profiles getProfiles()
Get the 'Profiles' element value.

Returns:
value

setProfiles

public void setProfiles(Profiles profiles)
Set the 'Profiles' element value.

Parameters:
profiles -

getSpecialRequests

public SpecialRequest getSpecialRequests()
Get the 'SpecialRequests' element value. The SpecialRequest object indicates special requests for a particular guest.

Returns:
value

setSpecialRequests

public void setSpecialRequests(SpecialRequest specialRequests)
Set the 'SpecialRequests' element value. The SpecialRequest object indicates special requests for a particular guest.

Parameters:
specialRequests -

getComments

public Comment getComments()
Get the 'Comments' element value. A collection of Comment objects. Comments which apply to one or more guests.

Returns:
value

setComments

public void setComments(Comment comments)
Set the 'Comments' element value. A collection of Comment objects. Comments which apply to one or more guests.

Parameters:
comments -

getServiceRPHs

public ServiceRPHs getServiceRPHs()
Get the 'ServiceRPHs' element value.

Returns:
value

setServiceRPHs

public void setServiceRPHs(ServiceRPHs serviceRPHs)
Set the 'ServiceRPHs' element value.

Parameters:
serviceRPHs -

getProfileRPHs

public ResGuests.ResGuest.ProfileRPHs getProfileRPHs()
Get the 'ProfileRPHs' element value.

Returns:
value

setProfileRPHs

public void setProfileRPHs(ResGuests.ResGuest.ProfileRPHs profileRPHs)
Set the 'ProfileRPHs' element value.

Parameters:
profileRPHs -

getArrivalTransport

public TransportInfo getArrivalTransport()
Get the 'ArrivalTransport' element value.

Returns:
value

setArrivalTransport

public void setArrivalTransport(TransportInfo arrivalTransport)
Set the 'ArrivalTransport' element value.

Parameters:
arrivalTransport -

getDepartureTransport

public TransportInfo getDepartureTransport()
Get the 'DepartureTransport' element value.

Returns:
value

setDepartureTransport

public void setDepartureTransport(TransportInfo departureTransport)
Set the 'DepartureTransport' element value.

Parameters:
departureTransport -

getGuestCounts

public GuestCount getGuestCounts()
Get the 'GuestCounts' element value.

Returns:
value

setGuestCounts

public void setGuestCounts(GuestCount guestCounts)
Set the 'GuestCounts' element value.

Parameters:
guestCounts -

getInHouseTimeSpan

public DateTimeSpan getInHouseTimeSpan()
Get the 'InHouseTimeSpan' element value.

Returns:
value

setInHouseTimeSpan

public void setInHouseTimeSpan(DateTimeSpan inHouseTimeSpan)
Set the 'InHouseTimeSpan' element value.

Parameters:
inHouseTimeSpan -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getResGuestRPH

public java.lang.String getResGuestRPH()
Get the 'ResGuestRPH' attribute value. This is a reference placeholder, used as an index for this guest in this reservation. In the ResGuest object it is used like all other RPH attributes to send the delta of a reservation. It is used by the RoomStay and Service objects to indicate which guests are associated with that room stay or service.

Returns:
value

setResGuestRPH

public void setResGuestRPH(java.lang.String resGuestRPH)
Set the 'ResGuestRPH' attribute value. This is a reference placeholder, used as an index for this guest in this reservation. In the ResGuest object it is used like all other RPH attributes to send the delta of a reservation. It is used by the RoomStay and Service objects to indicate which guests are associated with that room stay or service.

Parameters:
resGuestRPH -

getAgeQualifyingCode

public java.lang.String getAgeQualifyingCode()
Get the 'AgeQualifyingCode' attribute value. A code representing a business rule that determines the charges for a guest based upon age rannge (e.g. Adult, Child, Senior, Child With Adult, Child Without Adult). This attribute allows for an increase in rate by occupant class. Refer to OpenTravel Code List Age Qualifying Code (AQC).

Returns:
value

setAgeQualifyingCode

public void setAgeQualifyingCode(java.lang.String ageQualifyingCode)
Set the 'AgeQualifyingCode' attribute value. A code representing a business rule that determines the charges for a guest based upon age rannge (e.g. Adult, Child, Senior, Child With Adult, Child Without Adult). This attribute allows for an increase in rate by occupant class. Refer to OpenTravel Code List Age Qualifying Code (AQC).

Parameters:
ageQualifyingCode -

getArrivalTime

public java.sql.Time getArrivalTime()
Get the 'ArrivalTime' attribute value. This represents the date and time of the guest's arrival at the hotel. For example, this could be used to indicate a late arrival.

Returns:
value

setArrivalTime

public void setArrivalTime(java.sql.Time arrivalTime)
Set the 'ArrivalTime' attribute value. This represents the date and time of the guest's arrival at the hotel. For example, this could be used to indicate a late arrival.

Parameters:
arrivalTime -

getDepartureTime

public java.sql.Time getDepartureTime()
Get the 'DepartureTime' attribute value. This represents the date and time of the guest's departure from the hotel.

Returns:
value

setDepartureTime

public void setDepartureTime(java.sql.Time departureTime)
Set the 'DepartureTime' attribute value. This represents the date and time of the guest's departure from the hotel.

Parameters:
departureTime -

getGroupEventCode

public java.lang.String getGroupEventCode()
Get the 'GroupEventCode' attribute value. The identification of a group meeting or convention. Used to track a guest who is part of an inventory block (e.g.: group), and can be used for a pick-up when the guest calls in to reserve a room as part of the block. Whether this is taken from inventory depends upon the InventoryBlockCode in the Room Stay class. This code is associated with a group or event as agreed between two parties.

Returns:
value

setGroupEventCode

public void setGroupEventCode(java.lang.String groupEventCode)
Set the 'GroupEventCode' attribute value. The identification of a group meeting or convention. Used to track a guest who is part of an inventory block (e.g.: group), and can be used for a pick-up when the guest calls in to reserve a room as part of the block. Whether this is taken from inventory depends upon the InventoryBlockCode in the Room Stay class. This code is associated with a group or event as agreed between two parties.

Parameters:
groupEventCode -

getVIP

public java.lang.Boolean getVIP()
Get the 'VIP' attribute value. Guest is VIP indicator.

Returns:
value

setVIP

public void setVIP(java.lang.Boolean VIP)
Set the 'VIP' attribute value. Guest is VIP indicator.

Parameters:
VIP -

getPrimaryIndicator

public java.lang.Boolean getPrimaryIndicator()
Get the 'PrimaryIndicator' attribute value. When true indicates this is the primary guest.

Returns:
value

setPrimaryIndicator

public void setPrimaryIndicator(java.lang.Boolean primaryIndicator)
Set the 'PrimaryIndicator' attribute value. When true indicates this is the primary guest.

Parameters:
primaryIndicator -

getAge

public java.lang.Integer getAge()
Get the 'Age' attribute value. The age of the guest.

Returns:
value

setAge

public void setAge(java.lang.Integer age)
Set the 'Age' attribute value. The age of the guest.

Parameters:
age -

getLocationGroup

public LocationGroup getLocationGroup()
Get the 'LocationGroup' attributeGroup value. The city of origin for this traveler's trip.

Returns:
value

setLocationGroup

public void setLocationGroup(LocationGroup locationGroup)
Set the 'LocationGroup' attributeGroup value. The city of origin for this traveler's trip.

Parameters:
locationGroup -

getAction

public Action getAction()
Get the 'Action' attribute value. The action being taken on the guest entry.

Returns:
value

setAction

public void setAction(Action action)
Set the 'Action' attribute value. The action being taken on the guest entry.

Parameters:
action -