|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.BasicPropertyInfo
public class BasicPropertyInfo
An abbreviated short summary of hotel descriptive information. 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="BasicPropertyInfoType"> <xs:sequence> <xs:element type="ns:VendorMessagesType" name="VendorMessages" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="Position" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:PositionGroup"/> </xs:complexType> </xs:element> <xs:element type="ns:AddressInfoType" name="Address" minOccurs="0"/> <xs:element name="ContactNumbers" minOccurs="0"> <!-- Reference to inner class ContactNumbers --> </xs:element> <xs:element name="Award" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Award --> </xs:element> <xs:element type="ns:RelativePositionType" name="RelativePosition" minOccurs="0"/> <xs:element name="HotelAmenity" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class HotelAmenity --> </xs:element> <xs:element name="Recreation" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Recreation --> </xs:element> <xs:element name="Service" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Service --> </xs:element> <xs:element name="Policy" minOccurs="0"> <!-- Reference to inner class Policy --> </xs:element> </xs:sequence> <xs:attributeGroup ref="ns:HotelReferenceGroup"/> <xs:attribute type="xs:string" use="optional" name="HotelSegmentCategoryCode"/> <xs:attribute type="xs:int" use="optional" name="SupplierIntegrationLevel"/> <xs:attribute type="xs:int" use="optional" name="MaxGroupRoomQuantity"/> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
BasicPropertyInfo.Award
An element that identifies the hotel ratings. |
static class |
BasicPropertyInfo.ContactNumbers
Collection of hotel contact numbers. |
static class |
BasicPropertyInfo.HotelAmenity
Hotel-level amenities (pool, etc) for searching. |
static class |
BasicPropertyInfo.Policy
Policy information for this hotel. |
static class |
BasicPropertyInfo.Recreation
Identifies recreation facilities or amenities of interest. |
static class |
BasicPropertyInfo.Service
Identifies services of interest. |
Constructor Summary | |
---|---|
BasicPropertyInfo()
|
Method Summary | |
---|---|
void |
addAward(BasicPropertyInfo.Award item)
Add a 'Award' element item. |
void |
addHotelAmenity(BasicPropertyInfo.HotelAmenity item)
Add a 'HotelAmenity' element item. |
void |
addRecreation(BasicPropertyInfo.Recreation item)
Add a 'Recreation' element item. |
void |
addService(BasicPropertyInfo.Service item)
Add a 'Service' element item. |
void |
addVendorMessage(VendorMessages item)
Add a 'VendorMessages' element item. |
void |
clearAwards()
Remove all 'Award' element items. |
void |
clearHotelAmenities()
Remove all 'HotelAmenity' element items. |
void |
clearRecreations()
Remove all 'Recreation' element items. |
void |
clearServices()
Remove all 'Service' element items. |
void |
clearVendorMessages()
Remove all 'VendorMessages' element items. |
AddressInfo |
getAddress()
Get the 'Address' element value. |
BasicPropertyInfo.Award |
getAward(int index)
Get 'Award' element item by position. |
java.util.List<BasicPropertyInfo.Award> |
getAwards()
Get the list of 'Award' element items. |
BasicPropertyInfo.ContactNumbers |
getContactNumbers()
Get the 'ContactNumbers' element value. |
java.util.List<BasicPropertyInfo.HotelAmenity> |
getHotelAmenities()
Get the list of 'HotelAmenity' element items. |
BasicPropertyInfo.HotelAmenity |
getHotelAmenity(int index)
Get 'HotelAmenity' element item by position. |
HotelReferenceGroup |
getHotelReferenceGroup()
Get the 'HotelReferenceGroup' attributeGroup value. |
java.lang.String |
getHotelSegmentCategoryCode()
Get the 'HotelSegmentCategoryCode' attribute value. |
java.lang.Integer |
getMaxGroupRoomQuantity()
Get the 'MaxGroupRoomQuantity' attribute value. |
BasicPropertyInfo.Policy |
getPolicy()
Get the 'Policy' element value. |
PositionGroup |
getPosition()
Get the 'PositionGroup' attributeGroup value. |
BasicPropertyInfo.Recreation |
getRecreation(int index)
Get 'Recreation' element item by position. |
java.util.List<BasicPropertyInfo.Recreation> |
getRecreations()
Get the list of 'Recreation' element items. |
RelativePosition |
getRelativePosition()
Get the 'RelativePosition' element value. |
BasicPropertyInfo.Service |
getService(int index)
Get 'Service' element item by position. |
java.util.List<BasicPropertyInfo.Service> |
getServices()
Get the list of 'Service' element items. |
java.lang.Integer |
getSupplierIntegrationLevel()
Get the 'SupplierIntegrationLevel' attribute value. |
VendorMessages |
getVendorMessage(int index)
Get 'VendorMessages' element item by position. |
java.util.List<VendorMessages> |
getVendorMessages()
Get the list of 'VendorMessages' element items. |
void |
setAddress(AddressInfo address)
Set the 'Address' element value. |
void |
setAwards(java.util.List<BasicPropertyInfo.Award> list)
Set the list of 'Award' element items. |
void |
setContactNumbers(BasicPropertyInfo.ContactNumbers contactNumbers)
Set the 'ContactNumbers' element value. |
void |
setHotelAmenities(java.util.List<BasicPropertyInfo.HotelAmenity> list)
Set the list of 'HotelAmenity' element items. |
void |
setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
Set the 'HotelReferenceGroup' attributeGroup value. |
void |
setHotelSegmentCategoryCode(java.lang.String hotelSegmentCategoryCode)
Set the 'HotelSegmentCategoryCode' attribute value. |
void |
setMaxGroupRoomQuantity(java.lang.Integer maxGroupRoomQuantity)
Set the 'MaxGroupRoomQuantity' attribute value. |
void |
setPolicy(BasicPropertyInfo.Policy policy)
Set the 'Policy' element value. |
void |
setPosition(PositionGroup position)
Set the 'PositionGroup' attributeGroup value. |
void |
setRecreations(java.util.List<BasicPropertyInfo.Recreation> list)
Set the list of 'Recreation' element items. |
void |
setRelativePosition(RelativePosition relativePosition)
Set the 'RelativePosition' element value. |
void |
setServices(java.util.List<BasicPropertyInfo.Service> list)
Set the list of 'Service' element items. |
void |
setSupplierIntegrationLevel(java.lang.Integer supplierIntegrationLevel)
Set the 'SupplierIntegrationLevel' attribute value. |
void |
setVendorMessages(java.util.List<VendorMessages> list)
Set the list of 'VendorMessages' element items. |
int |
sizeAwards()
Get the number of 'Award' element items. |
int |
sizeHotelAmenities()
Get the number of 'HotelAmenity' element items. |
int |
sizeRecreations()
Get the number of 'Recreation' element items. |
int |
sizeServices()
Get the number of 'Service' element items. |
int |
sizeVendorMessages()
Get the number of 'VendorMessages' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicPropertyInfo()
Method Detail |
---|
public java.util.List<VendorMessages> getVendorMessages()
public void setVendorMessages(java.util.List<VendorMessages> list)
list
- public int sizeVendorMessages()
public void addVendorMessage(VendorMessages item)
item
- public VendorMessages getVendorMessage(int index)
index
-
public void clearVendorMessages()
public PositionGroup getPosition()
public void setPosition(PositionGroup position)
position
- public AddressInfo getAddress()
public void setAddress(AddressInfo address)
address
- public BasicPropertyInfo.ContactNumbers getContactNumbers()
public void setContactNumbers(BasicPropertyInfo.ContactNumbers contactNumbers)
contactNumbers
- public java.util.List<BasicPropertyInfo.Award> getAwards()
public void setAwards(java.util.List<BasicPropertyInfo.Award> list)
list
- public int sizeAwards()
public void addAward(BasicPropertyInfo.Award item)
item
- public BasicPropertyInfo.Award getAward(int index)
index
-
public void clearAwards()
public RelativePosition getRelativePosition()
public void setRelativePosition(RelativePosition relativePosition)
relativePosition
- public java.util.List<BasicPropertyInfo.HotelAmenity> getHotelAmenities()
public void setHotelAmenities(java.util.List<BasicPropertyInfo.HotelAmenity> list)
list
- public int sizeHotelAmenities()
public void addHotelAmenity(BasicPropertyInfo.HotelAmenity item)
item
- public BasicPropertyInfo.HotelAmenity getHotelAmenity(int index)
index
-
public void clearHotelAmenities()
public java.util.List<BasicPropertyInfo.Recreation> getRecreations()
public void setRecreations(java.util.List<BasicPropertyInfo.Recreation> list)
list
- public int sizeRecreations()
public void addRecreation(BasicPropertyInfo.Recreation item)
item
- public BasicPropertyInfo.Recreation getRecreation(int index)
index
-
public void clearRecreations()
public java.util.List<BasicPropertyInfo.Service> getServices()
public void setServices(java.util.List<BasicPropertyInfo.Service> list)
list
- public int sizeServices()
public void addService(BasicPropertyInfo.Service item)
item
- public BasicPropertyInfo.Service getService(int index)
index
-
public void clearServices()
public BasicPropertyInfo.Policy getPolicy()
public void setPolicy(BasicPropertyInfo.Policy policy)
policy
- public HotelReferenceGroup getHotelReferenceGroup()
public void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
hotelReferenceGroup
- public java.lang.String getHotelSegmentCategoryCode()
public void setHotelSegmentCategoryCode(java.lang.String hotelSegmentCategoryCode)
hotelSegmentCategoryCode
- public java.lang.Integer getSupplierIntegrationLevel()
public void setSupplierIntegrationLevel(java.lang.Integer supplierIntegrationLevel)
supplierIntegrationLevel
- public java.lang.Integer getMaxGroupRoomQuantity()
public void setMaxGroupRoomQuantity(java.lang.Integer maxGroupRoomQuantity)
maxGroupRoomQuantity
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |