|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.HotelDescriptiveContent.Policies
public static class HotelDescriptiveContent.Policies
A collection of policy information as it applies to the hotel. 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="Policies" minOccurs="0"> <xs:complexType> <xs:complexContent> <xs:extension base="ns:PoliciesType"> <xs:attribute type="xs:boolean" use="optional" name="GuaranteeRoomTypeViaGDS"/> <xs:attribute type="xs:boolean" use="optional" name="GuaranteeRoomTypeViaCRC"/> <xs:attribute type="xs:boolean" use="optional" name="GuaranteeRoomTypeViaProperty"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PoliciesType"> <xs:sequence> <xs:element name="Policy" maxOccurs="unbounded"> <!-- Reference to inner class Policy --> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
HotelDescriptiveContent.Policies.Policy
Describes the policies of the hotel, such as the type of payments, or whether children or pets are accepted. |
Constructor Summary | |
---|---|
HotelDescriptiveContent.Policies()
|
Method Summary | |
---|---|
void |
addPolicy(HotelDescriptiveContent.Policies.Policy item)
Add a 'Policy' element item. |
void |
clearPolicies()
Remove all 'Policy' element items. |
java.lang.Boolean |
getGuaranteeRoomTypeViaCRC()
Get the 'GuaranteeRoomTypeViaCRC' attribute value. |
java.lang.Boolean |
getGuaranteeRoomTypeViaGDS()
Get the 'GuaranteeRoomTypeViaGDS' attribute value. |
java.lang.Boolean |
getGuaranteeRoomTypeViaProperty()
Get the 'GuaranteeRoomTypeViaProperty' attribute value. |
java.util.List<HotelDescriptiveContent.Policies.Policy> |
getPolicies()
Get the list of 'Policy' element items. |
HotelDescriptiveContent.Policies.Policy |
getPolicy(int index)
Get 'Policy' element item by position. |
void |
setGuaranteeRoomTypeViaCRC(java.lang.Boolean guaranteeRoomTypeViaCRC)
Set the 'GuaranteeRoomTypeViaCRC' attribute value. |
void |
setGuaranteeRoomTypeViaGDS(java.lang.Boolean guaranteeRoomTypeViaGDS)
Set the 'GuaranteeRoomTypeViaGDS' attribute value. |
void |
setGuaranteeRoomTypeViaProperty(java.lang.Boolean guaranteeRoomTypeViaProperty)
Set the 'GuaranteeRoomTypeViaProperty' attribute value. |
void |
setPolicies(java.util.List<HotelDescriptiveContent.Policies.Policy> list)
Set the list of 'Policy' element items. |
int |
sizePolicies()
Get the number of 'Policy' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HotelDescriptiveContent.Policies()
Method Detail |
---|
public java.util.List<HotelDescriptiveContent.Policies.Policy> getPolicies()
public void setPolicies(java.util.List<HotelDescriptiveContent.Policies.Policy> list)
list
- public int sizePolicies()
public void addPolicy(HotelDescriptiveContent.Policies.Policy item)
item
- public HotelDescriptiveContent.Policies.Policy getPolicy(int index)
index
-
public void clearPolicies()
public java.lang.Boolean getGuaranteeRoomTypeViaGDS()
public void setGuaranteeRoomTypeViaGDS(java.lang.Boolean guaranteeRoomTypeViaGDS)
guaranteeRoomTypeViaGDS
- public java.lang.Boolean getGuaranteeRoomTypeViaCRC()
public void setGuaranteeRoomTypeViaCRC(java.lang.Boolean guaranteeRoomTypeViaCRC)
guaranteeRoomTypeViaCRC
- public java.lang.Boolean getGuaranteeRoomTypeViaProperty()
public void setGuaranteeRoomTypeViaProperty(java.lang.Boolean guaranteeRoomTypeViaProperty)
guaranteeRoomTypeViaProperty
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |