|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram
public static class HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram
The LoyalProgram class defines the loyalty programs that this hotel participates in. 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="LoyalProgram" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="ProgramDescription" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class ProgramDescription --> </xs:element> <xs:element name="ProgramRestriction" minOccurs="0"> <!-- Reference to inner class ProgramRestriction --> </xs:element> <xs:element type="ns:BlackoutDateType" name="BlackoutDates" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="ns:RemovalGroup"/> <xs:attribute type="xs:string" use="optional" name="ProgramName"/> <xs:attribute type="xs:string" use="optional" name="SecondaryProgramName"/> <xs:attribute type="xs:string" use="optional" name="AffiliateProgramName"/> <xs:attribute type="xs:string" use="optional" name="HotelLevel"/> <xs:attribute type="xs:string" use="optional" name="ProgramCode"/> <xs:attribute type="xs:string" use="optional" name="TravelSector"/> </xs:complexType> </xs:element> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RemovalGroup"> <xs:attribute type="xs:boolean" use="optional" name="Removal"/> </xs:attributeGroup>
Nested Class Summary | |
---|---|
static class |
HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramDescription
Provides description information for the loyal program. |
static class |
HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramRestriction
Provides information regarding restrictions that apply to the loyal program. |
Constructor Summary | |
---|---|
HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram()
|
Method Summary | |
---|---|
void |
addProgramDescription(HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramDescription item)
Add a 'ProgramDescription' element item. |
void |
clearProgramDescriptions()
Remove all 'ProgramDescription' element items. |
java.lang.String |
getAffiliateProgramName()
Get the 'AffiliateProgramName' attribute value. |
BlackoutDate |
getBlackoutDates()
Get the 'BlackoutDates' element value. |
java.lang.String |
getHotelLevel()
Get the 'HotelLevel' attribute value. |
java.lang.String |
getProgramCode()
Get the 'ProgramCode' attribute value. |
HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramDescription |
getProgramDescription(int index)
Get 'ProgramDescription' element item by position. |
java.util.List<HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramDescription> |
getProgramDescriptions()
Get the list of 'ProgramDescription' element items. |
java.lang.String |
getProgramName()
Get the 'ProgramName' attribute value. |
HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramRestriction |
getProgramRestriction()
Get the 'ProgramRestriction' element value. |
java.lang.Boolean |
getRemoval()
Get the 'Removal' attribute value. |
java.lang.String |
getSecondaryProgramName()
Get the 'SecondaryProgramName' attribute value. |
java.lang.String |
getTravelSector()
Get the 'TravelSector' attribute value. |
void |
setAffiliateProgramName(java.lang.String affiliateProgramName)
Set the 'AffiliateProgramName' attribute value. |
void |
setBlackoutDates(BlackoutDate blackoutDates)
Set the 'BlackoutDates' element value. |
void |
setHotelLevel(java.lang.String hotelLevel)
Set the 'HotelLevel' attribute value. |
void |
setProgramCode(java.lang.String programCode)
Set the 'ProgramCode' attribute value. |
void |
setProgramDescriptions(java.util.List<HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramDescription> list)
Set the list of 'ProgramDescription' element items. |
void |
setProgramName(java.lang.String programName)
Set the 'ProgramName' attribute value. |
void |
setProgramRestriction(HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramRestriction programRestriction)
Set the 'ProgramRestriction' element value. |
void |
setRemoval(java.lang.Boolean removal)
Set the 'Removal' attribute value. |
void |
setSecondaryProgramName(java.lang.String secondaryProgramName)
Set the 'SecondaryProgramName' attribute value. |
void |
setTravelSector(java.lang.String travelSector)
Set the 'TravelSector' attribute value. |
int |
sizeProgramDescriptions()
Get the number of 'ProgramDescription' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram()
Method Detail |
---|
public java.util.List<HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramDescription> getProgramDescriptions()
public void setProgramDescriptions(java.util.List<HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramDescription> list)
list
- public int sizeProgramDescriptions()
public void addProgramDescription(HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramDescription item)
item
- public HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramDescription getProgramDescription(int index)
index
-
public void clearProgramDescriptions()
public HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramRestriction getProgramRestriction()
public void setProgramRestriction(HotelDescriptiveContent.AffiliationInfo.LoyalPrograms.LoyalProgram.ProgramRestriction programRestriction)
programRestriction
- public BlackoutDate getBlackoutDates()
public void setBlackoutDates(BlackoutDate blackoutDates)
blackoutDates
- public java.lang.Boolean getRemoval()
public void setRemoval(java.lang.Boolean removal)
removal
- public java.lang.String getProgramName()
public void setProgramName(java.lang.String programName)
programName
- public java.lang.String getSecondaryProgramName()
public void setSecondaryProgramName(java.lang.String secondaryProgramName)
secondaryProgramName
- public java.lang.String getAffiliateProgramName()
public void setAffiliateProgramName(java.lang.String affiliateProgramName)
affiliateProgramName
- public java.lang.String getHotelLevel()
public void setHotelLevel(java.lang.String hotelLevel)
hotelLevel
- public java.lang.String getProgramCode()
public void setProgramCode(java.lang.String programCode)
programCode
- public java.lang.String getTravelSector()
public void setTravelSector(java.lang.String travelSector)
travelSector
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |