org.ota.air
Class DemandTicketRQ.DocumentInstructions

java.lang.Object
  extended by org.ota.air.DemandTicketRQ.DocumentInstructions
Enclosing class:
DemandTicketRQ

public static class DemandTicketRQ.DocumentInstructions
extends java.lang.Object

A container of document instructions. 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="DocumentInstructions" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="DocumentInstruction" minOccurs="0" maxOccurs="99">
         <!-- Reference to inner class DocumentInstruction -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="OverrideStoredInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="UsePrimaryInd"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class DemandTicketRQ.DocumentInstructions.DocumentInstruction
          A stored document instruction number to be used in ticketing.
 
Constructor Summary
DemandTicketRQ.DocumentInstructions()
           
 
Method Summary
 void addDocumentInstruction(DemandTicketRQ.DocumentInstructions.DocumentInstruction item)
          Add a 'DocumentInstruction' element item.
 void clearDocumentInstructions()
          Remove all 'DocumentInstruction' element items.
 DemandTicketRQ.DocumentInstructions.DocumentInstruction getDocumentInstruction(int index)
          Get 'DocumentInstruction' element item by position.
 java.util.List<DemandTicketRQ.DocumentInstructions.DocumentInstruction> getDocumentInstructions()
          Get the list of 'DocumentInstruction' element items.
 java.lang.Boolean getOverrideStoredInd()
          Get the 'OverrideStoredInd' attribute value.
 java.lang.Boolean getUsePrimaryInd()
          Get the 'UsePrimaryInd' attribute value.
 void setDocumentInstructions(java.util.List<DemandTicketRQ.DocumentInstructions.DocumentInstruction> list)
          Set the list of 'DocumentInstruction' element items.
 void setOverrideStoredInd(java.lang.Boolean overrideStoredInd)
          Set the 'OverrideStoredInd' attribute value.
 void setUsePrimaryInd(java.lang.Boolean usePrimaryInd)
          Set the 'UsePrimaryInd' attribute value.
 int sizeDocumentInstructions()
          Get the number of 'DocumentInstruction' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemandTicketRQ.DocumentInstructions

public DemandTicketRQ.DocumentInstructions()
Method Detail

getDocumentInstructions

public java.util.List<DemandTicketRQ.DocumentInstructions.DocumentInstruction> getDocumentInstructions()
Get the list of 'DocumentInstruction' element items.

Returns:
list

setDocumentInstructions

public void setDocumentInstructions(java.util.List<DemandTicketRQ.DocumentInstructions.DocumentInstruction> list)
Set the list of 'DocumentInstruction' element items.

Parameters:
list -

sizeDocumentInstructions

public int sizeDocumentInstructions()
Get the number of 'DocumentInstruction' element items.

Returns:
count

addDocumentInstruction

public void addDocumentInstruction(DemandTicketRQ.DocumentInstructions.DocumentInstruction item)
Add a 'DocumentInstruction' element item.

Parameters:
item -

getDocumentInstruction

public DemandTicketRQ.DocumentInstructions.DocumentInstruction getDocumentInstruction(int index)
Get 'DocumentInstruction' element item by position.

Parameters:
index -
Returns:
item

clearDocumentInstructions

public void clearDocumentInstructions()
Remove all 'DocumentInstruction' element items.


getOverrideStoredInd

public java.lang.Boolean getOverrideStoredInd()
Get the 'OverrideStoredInd' attribute value. When true, the stored document instructions should not be used in ticketing.

Returns:
value

setOverrideStoredInd

public void setOverrideStoredInd(java.lang.Boolean overrideStoredInd)
Set the 'OverrideStoredInd' attribute value. When true, the stored document instructions should not be used in ticketing.

Parameters:
overrideStoredInd -

getUsePrimaryInd

public java.lang.Boolean getUsePrimaryInd()
Get the 'UsePrimaryInd' attribute value. When true, use the primary stored document instruction in ticketing.

Returns:
value

setUsePrimaryInd

public void setUsePrimaryInd(java.lang.Boolean usePrimaryInd)
Set the 'UsePrimaryInd' attribute value. When true, use the primary stored document instruction in ticketing.

Parameters:
usePrimaryInd -