org.ota.hotel
Class HotelDescriptiveContent.AffiliationInfo.Awards.Award

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.AffiliationInfo.Awards.Award
Enclosing class:
HotelDescriptiveContent.AffiliationInfo.Awards

public static class HotelDescriptiveContent.AffiliationInfo.Awards.Award
extends java.lang.Object

Provides detailed information regarding each award for this 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="Award" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attributeGroup ref="ns:RemovalGroup"/>
     <xs:attribute type="xs:date" use="optional" name="Date"/>
     <xs:attribute type="xs:string" use="optional" name="Provider"/>
     <xs:attribute type="xs:string" use="optional" name="Rating"/>
     <xs:attribute type="xs:boolean" use="optional" name="OfficialAppointmentInd"/>
     <xs:attribute use="optional" name="RatingSymbol">
       <xs:simpleType>
         <!-- Reference to inner class RatingSymbol -->
       </xs:simpleType>
     </xs:attribute>
   </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.Awards.Award.RatingSymbol
          Schema fragment(s) for this class:
 
Constructor Summary
HotelDescriptiveContent.AffiliationInfo.Awards.Award()
           
 
Method Summary
 java.sql.Date getDate()
          Get the 'Date' attribute value.
 java.lang.Boolean getOfficialAppointmentInd()
          Get the 'OfficialAppointmentInd' attribute value.
 java.lang.String getProvider()
          Get the 'Provider' attribute value.
 java.lang.String getRating()
          Get the 'Rating' attribute value.
 HotelDescriptiveContent.AffiliationInfo.Awards.Award.RatingSymbol getRatingSymbol()
          Get the 'RatingSymbol' attribute value.
 java.lang.Boolean getRemoval()
          Get the 'Removal' attribute value.
 void setDate(java.sql.Date date)
          Set the 'Date' attribute value.
 void setOfficialAppointmentInd(java.lang.Boolean officialAppointmentInd)
          Set the 'OfficialAppointmentInd' attribute value.
 void setProvider(java.lang.String provider)
          Set the 'Provider' attribute value.
 void setRating(java.lang.String rating)
          Set the 'Rating' attribute value.
 void setRatingSymbol(HotelDescriptiveContent.AffiliationInfo.Awards.Award.RatingSymbol ratingSymbol)
          Set the 'RatingSymbol' attribute value.
 void setRemoval(java.lang.Boolean removal)
          Set the 'Removal' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.AffiliationInfo.Awards.Award

public HotelDescriptiveContent.AffiliationInfo.Awards.Award()
Method Detail

getRemoval

public java.lang.Boolean getRemoval()
Get the 'Removal' attribute value. If true, this item is obsolete and should be removed from the receiving system. false

Returns:
value

setRemoval

public void setRemoval(java.lang.Boolean removal)
Set the 'Removal' attribute value. If true, this item is obsolete and should be removed from the receiving system. false

Parameters:
removal -

getDate

public java.sql.Date getDate()
Get the 'Date' attribute value. The date the award was received.

Returns:
value

setDate

public void setDate(java.sql.Date date)
Set the 'Date' attribute value. The date the award was received.

Parameters:
date -

getProvider

public java.lang.String getProvider()
Get the 'Provider' attribute value. The name of the award or ratings provider (e.g., Michelin, American Automobile Association (AAA)).

Returns:
value

setProvider

public void setProvider(java.lang.String provider)
Set the 'Provider' attribute value. The name of the award or ratings provider (e.g., Michelin, American Automobile Association (AAA)).

Parameters:
provider -

getRating

public java.lang.String getRating()
Get the 'Rating' attribute value. The actual award or rating received by the hotel facility (e.g. 4 stars, 3 diamonds). If used in conjunction with RatingSymbol only the numeric rating would be passed here.

Returns:
value

setRating

public void setRating(java.lang.String rating)
Set the 'Rating' attribute value. The actual award or rating received by the hotel facility (e.g. 4 stars, 3 diamonds). If used in conjunction with RatingSymbol only the numeric rating would be passed here.

Parameters:
rating -

getOfficialAppointmentInd

public java.lang.Boolean getOfficialAppointmentInd()
Get the 'OfficialAppointmentInd' attribute value. When true indicates the property has received official permission from the award provider to use the rating in publications and marketing materials; when false this permission has not been granted.

Returns:
value

setOfficialAppointmentInd

public void setOfficialAppointmentInd(java.lang.Boolean officialAppointmentInd)
Set the 'OfficialAppointmentInd' attribute value. When true indicates the property has received official permission from the award provider to use the rating in publications and marketing materials; when false this permission has not been granted.

Parameters:
officialAppointmentInd -

getRatingSymbol

public HotelDescriptiveContent.AffiliationInfo.Awards.Award.RatingSymbol getRatingSymbol()
Get the 'RatingSymbol' attribute value. Provides the symbol used in the rating. Used in conjunction with the Rating.

Returns:
value

setRatingSymbol

public void setRatingSymbol(HotelDescriptiveContent.AffiliationInfo.Awards.Award.RatingSymbol ratingSymbol)
Set the 'RatingSymbol' attribute value. Provides the symbol used in the rating. Used in conjunction with the Rating.

Parameters:
ratingSymbol -