org.ota.hotel
Class Event.EventInner.Sites.Site

java.lang.Object
  extended by org.ota.hotel.Event.EventInner.Sites.Site
Enclosing class:
Event.EventInner.Sites

public static class Event.EventInner.Sites.Site
extends java.lang.Object

Identifies the site where functions for the event will be held. 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="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Contacts" minOccurs="0">
         <!-- Reference to inner class Contacts -->
       </xs:element>
       <xs:element name="RoomBlock" minOccurs="0" maxOccurs="99">
         <!-- Reference to inner class RoomBlock -->
       </xs:element>
       <xs:element name="EventDays" minOccurs="0">
         <!-- Reference to inner class EventDays -->
       </xs:element>
       <xs:element name="ShippingReceivingDetails" minOccurs="0">
         <!-- Reference to inner class ShippingReceivingDetails -->
       </xs:element>
       <xs:element name="Comments" minOccurs="0">
         <!-- Reference to inner class Comments -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="PrimaryFacilityIndicator"/>
     <xs:attribute type="xs:boolean" use="optional" name="HeadquarterHotelIndicator"/>
     <xs:attributeGroup ref="ns:HotelReferenceGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Event.EventInner.Sites.Site.Comments
          A collection of comments pertaining to a specific site.
static class Event.EventInner.Sites.Site.Contacts
          A collection of contacts associated with a specific site.
static class Event.EventInner.Sites.Site.EventDays
          A collection of event days.
static class Event.EventInner.Sites.Site.RoomBlock
          Information pertaining to room requirements for this event.
static class Event.EventInner.Sites.Site.ShippingReceivingDetails
          A collection of shipping and receiving details.
 
Constructor Summary
Event.EventInner.Sites.Site()
           
 
Method Summary
 void addRoomBlock(Event.EventInner.Sites.Site.RoomBlock item)
          Add a 'RoomBlock' element item.
 void clearRoomBlocks()
          Remove all 'RoomBlock' element items.
 Event.EventInner.Sites.Site.Comments getComments()
          Get the 'Comments' element value.
 Event.EventInner.Sites.Site.Contacts getContacts()
          Get the 'Contacts' element value.
 Event.EventInner.Sites.Site.EventDays getEventDays()
          Get the 'EventDays' element value.
 java.lang.Boolean getHeadquarterHotelIndicator()
          Get the 'HeadquarterHotelIndicator' attribute value.
 HotelReferenceGroup getHotelReferenceGroup()
          Get the 'HotelReferenceGroup' attributeGroup value.
 java.lang.Boolean getPrimaryFacilityIndicator()
          Get the 'PrimaryFacilityIndicator' attribute value.
 Event.EventInner.Sites.Site.RoomBlock getRoomBlock(int index)
          Get 'RoomBlock' element item by position.
 java.util.List<Event.EventInner.Sites.Site.RoomBlock> getRoomBlocks()
          Get the list of 'RoomBlock' element items.
 Event.EventInner.Sites.Site.ShippingReceivingDetails getShippingReceivingDetails()
          Get the 'ShippingReceivingDetails' element value.
 void setComments(Event.EventInner.Sites.Site.Comments comments)
          Set the 'Comments' element value.
 void setContacts(Event.EventInner.Sites.Site.Contacts contacts)
          Set the 'Contacts' element value.
 void setEventDays(Event.EventInner.Sites.Site.EventDays eventDays)
          Set the 'EventDays' element value.
 void setHeadquarterHotelIndicator(java.lang.Boolean headquarterHotelIndicator)
          Set the 'HeadquarterHotelIndicator' attribute value.
 void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
          Set the 'HotelReferenceGroup' attributeGroup value.
 void setPrimaryFacilityIndicator(java.lang.Boolean primaryFacilityIndicator)
          Set the 'PrimaryFacilityIndicator' attribute value.
 void setRoomBlocks(java.util.List<Event.EventInner.Sites.Site.RoomBlock> list)
          Set the list of 'RoomBlock' element items.
 void setShippingReceivingDetails(Event.EventInner.Sites.Site.ShippingReceivingDetails shippingReceivingDetails)
          Set the 'ShippingReceivingDetails' element value.
 int sizeRoomBlocks()
          Get the number of 'RoomBlock' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event.EventInner.Sites.Site

public Event.EventInner.Sites.Site()
Method Detail

getContacts

public Event.EventInner.Sites.Site.Contacts getContacts()
Get the 'Contacts' element value.

Returns:
value

setContacts

public void setContacts(Event.EventInner.Sites.Site.Contacts contacts)
Set the 'Contacts' element value.

Parameters:
contacts -

getRoomBlocks

public java.util.List<Event.EventInner.Sites.Site.RoomBlock> getRoomBlocks()
Get the list of 'RoomBlock' element items.

Returns:
list

setRoomBlocks

public void setRoomBlocks(java.util.List<Event.EventInner.Sites.Site.RoomBlock> list)
Set the list of 'RoomBlock' element items.

Parameters:
list -

sizeRoomBlocks

public int sizeRoomBlocks()
Get the number of 'RoomBlock' element items.

Returns:
count

addRoomBlock

public void addRoomBlock(Event.EventInner.Sites.Site.RoomBlock item)
Add a 'RoomBlock' element item.

Parameters:
item -

getRoomBlock

public Event.EventInner.Sites.Site.RoomBlock getRoomBlock(int index)
Get 'RoomBlock' element item by position.

Parameters:
index -
Returns:
item

clearRoomBlocks

public void clearRoomBlocks()
Remove all 'RoomBlock' element items.


getEventDays

public Event.EventInner.Sites.Site.EventDays getEventDays()
Get the 'EventDays' element value.

Returns:
value

setEventDays

public void setEventDays(Event.EventInner.Sites.Site.EventDays eventDays)
Set the 'EventDays' element value.

Parameters:
eventDays -

getShippingReceivingDetails

public Event.EventInner.Sites.Site.ShippingReceivingDetails getShippingReceivingDetails()
Get the 'ShippingReceivingDetails' element value.

Returns:
value

setShippingReceivingDetails

public void setShippingReceivingDetails(Event.EventInner.Sites.Site.ShippingReceivingDetails shippingReceivingDetails)
Set the 'ShippingReceivingDetails' element value.

Parameters:
shippingReceivingDetails -

getComments

public Event.EventInner.Sites.Site.Comments getComments()
Get the 'Comments' element value.

Returns:
value

setComments

public void setComments(Event.EventInner.Sites.Site.Comments comments)
Set the 'Comments' element value.

Parameters:
comments -

getPrimaryFacilityIndicator

public java.lang.Boolean getPrimaryFacilityIndicator()
Get the 'PrimaryFacilityIndicator' attribute value. When true, indicates the site is the primary facility for the event.

Returns:
value

setPrimaryFacilityIndicator

public void setPrimaryFacilityIndicator(java.lang.Boolean primaryFacilityIndicator)
Set the 'PrimaryFacilityIndicator' attribute value. When true, indicates the site is the primary facility for the event.

Parameters:
primaryFacilityIndicator -

getHeadquarterHotelIndicator

public java.lang.Boolean getHeadquarterHotelIndicator()
Get the 'HeadquarterHotelIndicator' attribute value. When true, indicates the site is the primary hotel for the event.

Returns:
value

setHeadquarterHotelIndicator

public void setHeadquarterHotelIndicator(java.lang.Boolean headquarterHotelIndicator)
Set the 'HeadquarterHotelIndicator' attribute value. When true, indicates the site is the primary hotel for the event.

Parameters:
headquarterHotelIndicator -

getHotelReferenceGroup

public HotelReferenceGroup getHotelReferenceGroup()
Get the 'HotelReferenceGroup' attributeGroup value. Identifies a particular site where functions for the event will be held.

Returns:
value

setHotelReferenceGroup

public void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
Set the 'HotelReferenceGroup' attributeGroup value. Identifies a particular site where functions for the event will be held.

Parameters:
hotelReferenceGroup -