org.ota.shared
Class OperationSchedulesPlusCharge

java.lang.Object
  extended by org.ota.shared.OperationSchedulesPlusCharge

public class OperationSchedulesPlusCharge
extends java.lang.Object

The OperationSchedule class defines the dates and hours of operation in addition the charges that may apply. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OperationSchedulesPlusChargeType">
   <xs:sequence>
     <xs:element name="OperationSchedule" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class OperationSchedule -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class OperationSchedulesPlusCharge.OperationSchedule
          The OperationSchedule class defines details the dates and hours of operation.
 
Constructor Summary
OperationSchedulesPlusCharge()
           
 
Method Summary
 void addOperationSchedule(OperationSchedulesPlusCharge.OperationSchedule item)
          Add a 'OperationSchedule' element item.
 void clearOperationSchedules()
          Remove all 'OperationSchedule' element items.
 OperationSchedulesPlusCharge.OperationSchedule getOperationSchedule(int index)
          Get 'OperationSchedule' element item by position.
 java.util.List<OperationSchedulesPlusCharge.OperationSchedule> getOperationSchedules()
          Get the list of 'OperationSchedule' element items.
 void setOperationSchedules(java.util.List<OperationSchedulesPlusCharge.OperationSchedule> list)
          Set the list of 'OperationSchedule' element items.
 int sizeOperationSchedules()
          Get the number of 'OperationSchedule' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationSchedulesPlusCharge

public OperationSchedulesPlusCharge()
Method Detail

getOperationSchedules

public java.util.List<OperationSchedulesPlusCharge.OperationSchedule> getOperationSchedules()
Get the list of 'OperationSchedule' element items.

Returns:
list

setOperationSchedules

public void setOperationSchedules(java.util.List<OperationSchedulesPlusCharge.OperationSchedule> list)
Set the list of 'OperationSchedule' element items.

Parameters:
list -

sizeOperationSchedules

public int sizeOperationSchedules()
Get the number of 'OperationSchedule' element items.

Returns:
count

addOperationSchedule

public void addOperationSchedule(OperationSchedulesPlusCharge.OperationSchedule item)
Add a 'OperationSchedule' element item.

Parameters:
item -

getOperationSchedule

public OperationSchedulesPlusCharge.OperationSchedule getOperationSchedule(int index)
Get 'OperationSchedule' element item by position.

Parameters:
index -
Returns:
item

clearOperationSchedules

public void clearOperationSchedules()
Remove all 'OperationSchedule' element items.