|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.RoomStayCandidate
public class RoomStayCandidate
Used to identify available room products. 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="RoomStayCandidateType">
<xs:sequence>
<xs:element type="ns:GuestCountType" name="GuestCounts" minOccurs="0"/>
<xs:element type="ns:RoomAmenityPrefType" name="RoomAmenity" minOccurs="0" maxOccurs="5"/>
</xs:sequence>
<xs:attributeGroup ref="ns:RoomGroup"/>
<xs:attribute type="xs:string" use="optional" name="RPH"/>
<xs:attribute type="xs:string" use="optional" name="RatePlanCandidateRPH"/>
<xs:attribute type="xs:string" use="optional" name="BookingCode"/>
<xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/>
</xs:complexType>
| Constructor Summary | |
|---|---|
RoomStayCandidate()
|
|
| Method Summary | |
|---|---|
void |
addRoomAmenity(RoomAmenityPref item)
Add a 'RoomAmenity' element item. |
void |
clearRoomAmenities()
Remove all 'RoomAmenity' element items. |
java.lang.String |
getBookingCode()
Get the 'BookingCode' attribute value. |
EffectiveExpireOptionalDateGroup |
getEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. |
GuestCount |
getGuestCounts()
Get the 'GuestCounts' element value. |
java.lang.String |
getRatePlanCandidateRPH()
Get the 'RatePlanCandidateRPH' attribute value. |
java.util.List<RoomAmenityPref> |
getRoomAmenities()
Get the list of 'RoomAmenity' element items. |
RoomAmenityPref |
getRoomAmenity(int index)
Get 'RoomAmenity' element item by position. |
RoomGroup |
getRoomGroup()
Get the 'RoomGroup' attributeGroup value. |
java.lang.String |
getRPH()
Get the 'RPH' attribute value. |
void |
setBookingCode(java.lang.String bookingCode)
Set the 'BookingCode' attribute value. |
void |
setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. |
void |
setGuestCounts(GuestCount guestCounts)
Set the 'GuestCounts' element value. |
void |
setRatePlanCandidateRPH(java.lang.String ratePlanCandidateRPH)
Set the 'RatePlanCandidateRPH' attribute value. |
void |
setRoomAmenities(java.util.List<RoomAmenityPref> list)
Set the list of 'RoomAmenity' element items. |
void |
setRoomGroup(RoomGroup roomGroup)
Set the 'RoomGroup' attributeGroup value. |
void |
setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. |
int |
sizeRoomAmenities()
Get the number of 'RoomAmenity' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoomStayCandidate()
| Method Detail |
|---|
public GuestCount getGuestCounts()
public void setGuestCounts(GuestCount guestCounts)
guestCounts - public java.util.List<RoomAmenityPref> getRoomAmenities()
public void setRoomAmenities(java.util.List<RoomAmenityPref> list)
list - public int sizeRoomAmenities()
public void addRoomAmenity(RoomAmenityPref item)
item - public RoomAmenityPref getRoomAmenity(int index)
index -
public void clearRoomAmenities()
public RoomGroup getRoomGroup()
public void setRoomGroup(RoomGroup roomGroup)
roomGroup - public java.lang.String getRPH()
public void setRPH(java.lang.String RPH)
RPH - public java.lang.String getRatePlanCandidateRPH()
public void setRatePlanCandidateRPH(java.lang.String ratePlanCandidateRPH)
ratePlanCandidateRPH - public java.lang.String getBookingCode()
public void setBookingCode(java.lang.String bookingCode)
bookingCode - public EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
public void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
effectiveExpireOptionalDateGroup -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||