org.ota.itin
Class RS.Remarks

java.lang.Object
  extended by org.ota.itin.RS.Remarks
Enclosing class:
RS

public static class RS.Remarks
extends java.lang.Object

Free text remarks associated with the itinerary (non-customer, non-item). 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="Remarks" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="xs:string" name="Remark" maxOccurs="unbounded"/>
       <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute name="RemarkType">
       <xs:simpleType>
         <!-- Reference to inner class Remark -->
       </xs:simpleType>
     </xs:attribute>
   </xs:complexType>
 </xs:element>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class RS.Remarks.Remark
          Schema fragment(s) for this class:
 
Constructor Summary
RS.Remarks()
           
 
Method Summary
 void addRemark(java.lang.String item)
          Add a 'Remark' element item.
 void clearRemarks()
          Remove all 'Remark' element items.
 RS.Remarks.Remark getRemark()
          Get the 'RemarkType' attribute value.
 java.lang.String getRemark(int index)
          Get 'Remark' element item by position.
 java.util.List<java.lang.String> getRemarks()
          Get the list of 'Remark' element items.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setRemark(RS.Remarks.Remark remark)
          Set the 'RemarkType' attribute value.
 void setRemarks(java.util.List<java.lang.String> list)
          Set the list of 'Remark' element items.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 int sizeRemarks()
          Get the number of 'Remark' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RS.Remarks

public RS.Remarks()
Method Detail

getRemarks

public java.util.List<java.lang.String> getRemarks()
Get the list of 'Remark' element items. Free text.

Returns:
list

setRemarks

public void setRemarks(java.util.List<java.lang.String> list)
Set the list of 'Remark' element items. Free text.

Parameters:
list -

sizeRemarks

public int sizeRemarks()
Get the number of 'Remark' element items.

Returns:
count

addRemark

public void addRemark(java.lang.String item)
Add a 'Remark' element item.

Parameters:
item -

getRemark

public java.lang.String getRemark(int index)
Get 'Remark' element item by position.

Parameters:
index -
Returns:
item

clearRemarks

public void clearRemarks()
Remove all 'Remark' element items.


getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getRemark

public RS.Remarks.Remark getRemark()
Get the 'RemarkType' attribute value.

Returns:
value

setRemark

public void setRemark(RS.Remarks.Remark remark)
Set the 'RemarkType' attribute value.

Parameters:
remark -