|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.Viewerships
public class Viewerships
Viewerships determine the distribution channel(s) for a rate plan. As an optional element, the absence of Viewerships implies a generally available rate, while the presence of a Viewerships collection implies qualifications on the rate. This may also be used to define a system that is able to view the hotel content. 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="ViewershipsType"> <xs:sequence> <xs:element name="Viewership" maxOccurs="unbounded"> <!-- Reference to inner class Viewership --> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
Viewerships.Viewership
Viewership defines a system that is allowed to view the rateplan identified in a Hotel Rate Plan Notification message. |
Constructor Summary | |
---|---|
Viewerships()
|
Method Summary | |
---|---|
void |
addViewership(Viewerships.Viewership item)
Add a 'Viewership' element item. |
void |
clearViewerships()
Remove all 'Viewership' element items. |
Viewerships.Viewership |
getViewership(int index)
Get 'Viewership' element item by position. |
java.util.List<Viewerships.Viewership> |
getViewerships()
Get the list of 'Viewership' element items. |
void |
setViewerships(java.util.List<Viewerships.Viewership> list)
Set the list of 'Viewership' element items. |
int |
sizeViewerships()
Get the number of 'Viewership' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Viewerships()
Method Detail |
---|
public java.util.List<Viewerships.Viewership> getViewerships()
public void setViewerships(java.util.List<Viewerships.Viewership> list)
list
- public int sizeViewerships()
public void addViewership(Viewerships.Viewership item)
item
- public Viewerships.Viewership getViewership(int index)
index
-
public void clearViewerships()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |