org.ota.hotel
Class Offer.Guests.Guest

java.lang.Object
  extended by org.ota.hotel.Offer.Guests.Guest
Enclosing class:
Offer.Guests

public static class Offer.Guests.Guest
extends java.lang.Object

Defines the guest(s) to which the offer applies. 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="Guest" maxOccurs="9">
   <xs:complexType>
     <xs:attributeGroup ref="ns:AgeQualifyingGroup"/>
     <xs:attribute type="xs:int" use="optional" name="MinCount"/>
     <xs:attribute type="xs:int" use="optional" name="MaxCount"/>
     <xs:attribute type="xs:int" use="optional" name="FirstQualifyingPosition"/>
     <xs:attribute type="xs:int" use="optional" name="LastQualifyingPosition"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Offer.Guests.Guest()
           
 
Method Summary
 AgeQualifyingGroup getAgeQualifyingGroup()
          Get the 'AgeQualifyingGroup' attributeGroup value.
 java.lang.Integer getFirstQualifyingPosition()
          Get the 'FirstQualifyingPosition' attribute value.
 java.lang.Integer getLastQualifyingPosition()
          Get the 'LastQualifyingPosition' attribute value.
 java.lang.Integer getMaxCount()
          Get the 'MaxCount' attribute value.
 java.lang.Integer getMinCount()
          Get the 'MinCount' attribute value.
 void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
          Set the 'AgeQualifyingGroup' attributeGroup value.
 void setFirstQualifyingPosition(java.lang.Integer firstQualifyingPosition)
          Set the 'FirstQualifyingPosition' attribute value.
 void setLastQualifyingPosition(java.lang.Integer lastQualifyingPosition)
          Set the 'LastQualifyingPosition' attribute value.
 void setMaxCount(java.lang.Integer maxCount)
          Set the 'MaxCount' attribute value.
 void setMinCount(java.lang.Integer minCount)
          Set the 'MinCount' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Offer.Guests.Guest

public Offer.Guests.Guest()
Method Detail

getAgeQualifyingGroup

public AgeQualifyingGroup getAgeQualifyingGroup()
Get the 'AgeQualifyingGroup' attributeGroup value. Specifies the age requirements for this offer.

Returns:
value

setAgeQualifyingGroup

public void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
Set the 'AgeQualifyingGroup' attributeGroup value. Specifies the age requirements for this offer.

Parameters:
ageQualifyingGroup -

getMinCount

public java.lang.Integer getMinCount()
Get the 'MinCount' attribute value. Minimum number of guests of this age group needed to qualify for this offer.

Returns:
value

setMinCount

public void setMinCount(java.lang.Integer minCount)
Set the 'MinCount' attribute value. Minimum number of guests of this age group needed to qualify for this offer.

Parameters:
minCount -

getMaxCount

public java.lang.Integer getMaxCount()
Get the 'MaxCount' attribute value. Maximum number of guests of this age group allowed to qualify for this offer.

Returns:
value

setMaxCount

public void setMaxCount(java.lang.Integer maxCount)
Set the 'MaxCount' attribute value. Maximum number of guests of this age group allowed to qualify for this offer.

Parameters:
maxCount -

getFirstQualifyingPosition

public java.lang.Integer getFirstQualifyingPosition()
Get the 'FirstQualifyingPosition' attribute value. First person in this age group to which this offer applies.

Returns:
value

setFirstQualifyingPosition

public void setFirstQualifyingPosition(java.lang.Integer firstQualifyingPosition)
Set the 'FirstQualifyingPosition' attribute value. First person in this age group to which this offer applies.

Parameters:
firstQualifyingPosition -

getLastQualifyingPosition

public java.lang.Integer getLastQualifyingPosition()
Get the 'LastQualifyingPosition' attribute value. Last person in this age group to which this offer applies.

Returns:
value

setLastQualifyingPosition

public void setLastQualifyingPosition(java.lang.Integer lastQualifyingPosition)
Set the 'LastQualifyingPosition' attribute value. Last person in this age group to which this offer applies.

Parameters:
lastQualifyingPosition -