org.ota.hotel
Class HotelDescriptiveContent.EffectivePeriods.EffectivePeriod

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.EffectivePeriods.EffectivePeriod
Enclosing class:
HotelDescriptiveContent.EffectivePeriods

public static class HotelDescriptiveContent.EffectivePeriods.EffectivePeriod
extends java.lang.Object

The period for which content is visible. This may be either specific times of year that repeat annually or actual dates. 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="EffectivePeriod" maxOccurs="99">
   <xs:complexType>
     <xs:attributeGroup ref="ns:DatePeriodGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DatePeriodGroup">
   <xs:attribute type="xs:string" use="optional" name="StartPeriod"/>
   <xs:attribute type="xs:string" use="optional" name="Duration"/>
   <xs:attribute type="xs:string" use="optional" name="EndPeriod"/>
 </xs:attributeGroup>
 


Constructor Summary
HotelDescriptiveContent.EffectivePeriods.EffectivePeriod()
           
 
Method Summary
 java.lang.String getDuration()
          Get the 'Duration' attribute value.
 java.lang.String getEndPeriod()
          Get the 'EndPeriod' attribute value.
 java.lang.String getStartPeriod()
          Get the 'StartPeriod' attribute value.
 void setDuration(java.lang.String duration)
          Set the 'Duration' attribute value.
 void setEndPeriod(java.lang.String endPeriod)
          Set the 'EndPeriod' attribute value.
 void setStartPeriod(java.lang.String startPeriod)
          Set the 'StartPeriod' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.EffectivePeriods.EffectivePeriod

public HotelDescriptiveContent.EffectivePeriods.EffectivePeriod()
Method Detail

getStartPeriod

public java.lang.String getStartPeriod()
Get the 'StartPeriod' attribute value. Defines the start of a period either the day and month or the actual date.

Returns:
value

setStartPeriod

public void setStartPeriod(java.lang.String startPeriod)
Set the 'StartPeriod' attribute value. Defines the start of a period either the day and month or the actual date.

Parameters:
startPeriod -

getDuration

public java.lang.String getDuration()
Get the 'Duration' attribute value. Defines the duration of a period.

Returns:
value

setDuration

public void setDuration(java.lang.String duration)
Set the 'Duration' attribute value. Defines the duration of a period.

Parameters:
duration -

getEndPeriod

public java.lang.String getEndPeriod()
Get the 'EndPeriod' attribute value. Defines the end of a period either the day and month or the actual date.

Returns:
value

setEndPeriod

public void setEndPeriod(java.lang.String endPeriod)
Set the 'EndPeriod' attribute value. Defines the end of a period either the day and month or the actual date.

Parameters:
endPeriod -