org.ota.hotel
Class RFPResponse.RFPResponseSegment.Sites.Site

java.lang.Object
  extended by org.ota.hotel.RFPResponse.RFPResponseSegment.Sites.Site
Enclosing class:
RFPResponse.RFPResponseSegment.Sites

public static class RFPResponse.RFPResponseSegment.Sites.Site
extends java.lang.Object

Specifies an individual destination of the response. 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="Site" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:RFP_ResponseDetailType" name="ResponseType" minOccurs="0"/>
       <xs:element name="ContactInfos" minOccurs="0">
         <xs:complexType>
           <xs:sequence>
             <xs:element type="ns:ContactPersonType" name="ContactInfo"/>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
       <xs:element name="Dates" minOccurs="0">
         <!-- Reference to inner class Dates -->
       </xs:element>
       <xs:element type="ns:ParagraphType" name="Comment" minOccurs="0" maxOccurs="5"/>
       <xs:element type="ns:UniqueID_Type" name="SiteID" minOccurs="0"/>
       <xs:element name="InsuranceInfos" minOccurs="0">
         <!-- Reference to inner class InsuranceInfos -->
       </xs:element>
       <xs:element name="References" minOccurs="0">
         <!-- Reference to inner class References -->
       </xs:element>
       <xs:element name="AdditionalInfos" minOccurs="0">
         <!-- Reference to inner class AdditionalInfos -->
       </xs:element>
       <xs:element name="Answers" minOccurs="0">
         <!-- Reference to inner class Answers -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:HotelReferenceGroup"/>
     <xs:attribute type="xs:boolean" use="optional" name="CrossSellIndicator"/>
     <xs:attribute type="xs:int" use="optional" name="SimilarEventCount"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPResponse.RFPResponseSegment.Sites.Site.AdditionalInfos
          Collection of additional information.
static class RFPResponse.RFPResponseSegment.Sites.Site.Answers
          A container for collecting answers to custom questions.
static class RFPResponse.RFPResponseSegment.Sites.Site.Dates
          A collection of inquiry dates.
static class RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos
          A collection of Insurance Information Schema fragment(s) for this class:
static class RFPResponse.RFPResponseSegment.Sites.Site.References
          A collection of recommendation references.
 
Constructor Summary
RFPResponse.RFPResponseSegment.Sites.Site()
           
 
Method Summary
 void addComment(Paragraph item)
          Add a 'Comment' element item.
 void clearComments()
          Remove all 'Comment' element items.
 RFPResponse.RFPResponseSegment.Sites.Site.AdditionalInfos getAdditionalInfos()
          Get the 'AdditionalInfos' element value.
 RFPResponse.RFPResponseSegment.Sites.Site.Answers getAnswers()
          Get the 'Answers' element value.
 Paragraph getComment(int index)
          Get 'Comment' element item by position.
 java.util.List<Paragraph> getComments()
          Get the list of 'Comment' element items.
 ContactPerson getContactInfo()
          Get the 'ContactInfo' element value.
 java.lang.Boolean getCrossSellIndicator()
          Get the 'CrossSellIndicator' attribute value.
 RFPResponse.RFPResponseSegment.Sites.Site.Dates getDates()
          Get the 'Dates' element value.
 HotelReferenceGroup getHotelReferenceGroup()
          Get the 'HotelReferenceGroup' attributeGroup value.
 RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos getInsuranceInfos()
          Get the 'InsuranceInfos' element value.
 RFPResponse.RFPResponseSegment.Sites.Site.References getReferences()
          Get the 'References' element value.
 RFPResponseDetail getResponse()
          Get the 'ResponseType' element value.
 java.lang.Integer getSimilarEventCount()
          Get the 'SimilarEventCount' attribute value.
 UniqueID getSiteID()
          Get the 'SiteID' element value.
 void setAdditionalInfos(RFPResponse.RFPResponseSegment.Sites.Site.AdditionalInfos additionalInfos)
          Set the 'AdditionalInfos' element value.
 void setAnswers(RFPResponse.RFPResponseSegment.Sites.Site.Answers answers)
          Set the 'Answers' element value.
 void setComments(java.util.List<Paragraph> list)
          Set the list of 'Comment' element items.
 void setContactInfo(ContactPerson contactInfo)
          Set the 'ContactInfo' element value.
 void setCrossSellIndicator(java.lang.Boolean crossSellIndicator)
          Set the 'CrossSellIndicator' attribute value.
 void setDates(RFPResponse.RFPResponseSegment.Sites.Site.Dates dates)
          Set the 'Dates' element value.
 void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
          Set the 'HotelReferenceGroup' attributeGroup value.
 void setInsuranceInfos(RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos insuranceInfos)
          Set the 'InsuranceInfos' element value.
 void setReferences(RFPResponse.RFPResponseSegment.Sites.Site.References references)
          Set the 'References' element value.
 void setResponse(RFPResponseDetail response)
          Set the 'ResponseType' element value.
 void setSimilarEventCount(java.lang.Integer similarEventCount)
          Set the 'SimilarEventCount' attribute value.
 void setSiteID(UniqueID siteID)
          Set the 'SiteID' element value.
 int sizeComments()
          Get the number of 'Comment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPResponse.RFPResponseSegment.Sites.Site

public RFPResponse.RFPResponseSegment.Sites.Site()
Method Detail

getResponse

public RFPResponseDetail getResponse()
Get the 'ResponseType' element value. This is used to send information about the data that will be returned, specifically when and in what delivery mode.

Returns:
value

setResponse

public void setResponse(RFPResponseDetail response)
Set the 'ResponseType' element value. This is used to send information about the data that will be returned, specifically when and in what delivery mode.

Parameters:
response -

getContactInfo

public ContactPerson getContactInfo()
Get the 'ContactInfo' element value. A contact for this site for this specific RFP.

Returns:
value

setContactInfo

public void setContactInfo(ContactPerson contactInfo)
Set the 'ContactInfo' element value. A contact for this site for this specific RFP.

Parameters:
contactInfo -

getDates

public RFPResponse.RFPResponseSegment.Sites.Site.Dates getDates()
Get the 'Dates' element value.

Returns:
value

setDates

public void setDates(RFPResponse.RFPResponseSegment.Sites.Site.Dates dates)
Set the 'Dates' element value.

Parameters:
dates -

getComments

public java.util.List<Paragraph> getComments()
Get the list of 'Comment' element items. This holds information from a specific site on the requested data.

Returns:
list

setComments

public void setComments(java.util.List<Paragraph> list)
Set the list of 'Comment' element items. This holds information from a specific site on the requested data.

Parameters:
list -

sizeComments

public int sizeComments()
Get the number of 'Comment' element items.

Returns:
count

addComment

public void addComment(Paragraph item)
Add a 'Comment' element item.

Parameters:
item -

getComment

public Paragraph getComment(int index)
Get 'Comment' element item by position.

Parameters:
index -
Returns:
item

clearComments

public void clearComments()
Remove all 'Comment' element items.


getSiteID

public UniqueID getSiteID()
Get the 'SiteID' element value. This is a UniqueID for this site for this request.

Returns:
value

setSiteID

public void setSiteID(UniqueID siteID)
Set the 'SiteID' element value. This is a UniqueID for this site for this request.

Parameters:
siteID -

getInsuranceInfos

public RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos getInsuranceInfos()
Get the 'InsuranceInfos' element value.

Returns:
value

setInsuranceInfos

public void setInsuranceInfos(RFPResponse.RFPResponseSegment.Sites.Site.InsuranceInfos insuranceInfos)
Set the 'InsuranceInfos' element value.

Parameters:
insuranceInfos -

getReferences

public RFPResponse.RFPResponseSegment.Sites.Site.References getReferences()
Get the 'References' element value.

Returns:
value

setReferences

public void setReferences(RFPResponse.RFPResponseSegment.Sites.Site.References references)
Set the 'References' element value.

Parameters:
references -

getAdditionalInfos

public RFPResponse.RFPResponseSegment.Sites.Site.AdditionalInfos getAdditionalInfos()
Get the 'AdditionalInfos' element value.

Returns:
value

setAdditionalInfos

public void setAdditionalInfos(RFPResponse.RFPResponseSegment.Sites.Site.AdditionalInfos additionalInfos)
Set the 'AdditionalInfos' element value.

Parameters:
additionalInfos -

getAnswers

public RFPResponse.RFPResponseSegment.Sites.Site.Answers getAnswers()
Get the 'Answers' element value.

Returns:
value

setAnswers

public void setAnswers(RFPResponse.RFPResponseSegment.Sites.Site.Answers answers)
Set the 'Answers' element value.

Parameters:
answers -

getHotelReferenceGroup

public HotelReferenceGroup getHotelReferenceGroup()
Get the 'HotelReferenceGroup' attributeGroup value.

Returns:
value

setHotelReferenceGroup

public void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
Set the 'HotelReferenceGroup' attributeGroup value.

Parameters:
hotelReferenceGroup -

getCrossSellIndicator

public java.lang.Boolean getCrossSellIndicator()
Get the 'CrossSellIndicator' attribute value. When True, the associated site was not included as part of the original Request message, but is being included as part of the Response message as an alternate location.

Returns:
value

setCrossSellIndicator

public void setCrossSellIndicator(java.lang.Boolean crossSellIndicator)
Set the 'CrossSellIndicator' attribute value. When True, the associated site was not included as part of the original Request message, but is being included as part of the Response message as an alternate location.

Parameters:
crossSellIndicator -

getSimilarEventCount

public java.lang.Integer getSimilarEventCount()
Get the 'SimilarEventCount' attribute value. Indicates how many events of a similar size this location has hosted in the past year.

Returns:
value

setSimilarEventCount

public void setSimilarEventCount(java.lang.Integer similarEventCount)
Set the 'SimilarEventCount' attribute value. Indicates how many events of a similar size this location has hosted in the past year.

Parameters:
similarEventCount -