org.ota.insurance
Class TripFeatures.Operators

java.lang.Object
  extended by org.ota.insurance.TripFeatures.Operators
Enclosing class:
TripFeatures

public static class TripFeatures.Operators
extends java.lang.Object

Container for any number of companies or organizations operating the trips, tours or cruises included in the traveler(s) journey 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="Operators" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:CompanyNameType" name="Operator" maxOccurs="99"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
TripFeatures.Operators()
           
 
Method Summary
 void addOperator(CompanyName item)
          Add a 'Operator' element item.
 void clearOperators()
          Remove all 'Operator' element items.
 CompanyName getOperator(int index)
          Get 'Operator' element item by position.
 java.util.List<CompanyName> getOperators()
          Get the list of 'Operator' element items.
 void setOperators(java.util.List<CompanyName> list)
          Set the list of 'Operator' element items.
 int sizeOperators()
          Get the number of 'Operator' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripFeatures.Operators

public TripFeatures.Operators()
Method Detail

getOperators

public java.util.List<CompanyName> getOperators()
Get the list of 'Operator' element items. Company or organization operating the trip/tour/cruise

Returns:
list

setOperators

public void setOperators(java.util.List<CompanyName> list)
Set the list of 'Operator' element items. Company or organization operating the trip/tour/cruise

Parameters:
list -

sizeOperators

public int sizeOperators()
Get the number of 'Operator' element items.

Returns:
count

addOperator

public void addOperator(CompanyName item)
Add a 'Operator' element item.

Parameters:
item -

getOperator

public CompanyName getOperator(int index)
Get 'Operator' element item by position.

Parameters:
index -
Returns:
item

clearOperators

public void clearOperators()
Remove all 'Operator' element items.