org.ota.shared
Class POS

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

public class POS
extends java.lang.Object

Point of Sale (POS) is the details identifying the party or connection channel making the request. 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="POS_Type">
   <xs:sequence>
     <xs:element type="ns:SourceType" name="Source" maxOccurs="10"/>
   </xs:sequence>
 </xs:complexType>
 


Constructor Summary
POS()
           
 
Method Summary
 void addSource(Source item)
          Add a 'Source' element item.
 void clearSources()
          Remove all 'Source' element items.
 Source getSource(int index)
          Get 'Source' element item by position.
 java.util.List<Source> getSources()
          Get the list of 'Source' element items.
 void setSources(java.util.List<Source> list)
          Set the list of 'Source' element items.
 int sizeSources()
          Get the number of 'Source' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POS

public POS()
Method Detail

getSources

public java.util.List<Source> getSources()
Get the list of 'Source' element items. This holds details regarding the requestor. It may be repeated to also accommodate the delivery systems.

Returns:
list

setSources

public void setSources(java.util.List<Source> list)
Set the list of 'Source' element items. This holds details regarding the requestor. It may be repeated to also accommodate the delivery systems.

Parameters:
list -

sizeSources

public int sizeSources()
Get the number of 'Source' element items.

Returns:
count

addSource

public void addSource(Source item)
Add a 'Source' element item.

Parameters:
item -

getSource

public Source getSource(int index)
Get 'Source' element item by position.

Parameters:
index -
Returns:
item

clearSources

public void clearSources()
Remove all 'Source' element items.