org.ota.misc
Class FileAttachmentNotifRQ

java.lang.Object
  extended by org.ota.misc.FileAttachmentNotifRQ

public class FileAttachmentNotifRQ
extends java.lang.Object

Enables sending encoded binary file(s). The request message lists each file attached and defines all attributes required by the receiver to decode the message and reconstruct the files at the endpoint. 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="OTA_FileAttachmentNotifRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element name="FileAttachmentReferences">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="FileAttachmentReference" maxOccurs="99">
               <!-- Reference to inner class FileAttachmentReference -->
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class FileAttachmentNotifRQ.FileAttachmentReference
          Specifies details about the file attached to this message.
 
Constructor Summary
FileAttachmentNotifRQ()
           
 
Method Summary
 void addFileAttachmentReference(FileAttachmentNotifRQ.FileAttachmentReference item)
          Add a 'FileAttachmentReference' element item.
 void clearFileAttachmentReferences()
          Remove all 'FileAttachmentReference' element items.
 FileAttachmentNotifRQ.FileAttachmentReference getFileAttachmentReference(int index)
          Get 'FileAttachmentReference' element item by position.
 java.util.List<FileAttachmentNotifRQ.FileAttachmentReference> getFileAttachmentReferences()
          Get the list of 'FileAttachmentReference' element items.
 OTAPayloadStdAttributes getPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 void setFileAttachmentReferences(java.util.List<FileAttachmentNotifRQ.FileAttachmentReference> list)
          Set the list of 'FileAttachmentReference' element items.
 void setPayloadStdAttributes(OTAPayloadStdAttributes payloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 int sizeFileAttachmentReferences()
          Get the number of 'FileAttachmentReference' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileAttachmentNotifRQ

public FileAttachmentNotifRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object.

Parameters:
POS -

getFileAttachmentReferences

public java.util.List<FileAttachmentNotifRQ.FileAttachmentReference> getFileAttachmentReferences()
Get the list of 'FileAttachmentReference' element items. Container for file attachment references.

Returns:
list

setFileAttachmentReferences

public void setFileAttachmentReferences(java.util.List<FileAttachmentNotifRQ.FileAttachmentReference> list)
Set the list of 'FileAttachmentReference' element items. Container for file attachment references.

Parameters:
list -

sizeFileAttachmentReferences

public int sizeFileAttachmentReferences()
Get the number of 'FileAttachmentReference' element items.

Returns:
count

addFileAttachmentReference

public void addFileAttachmentReference(FileAttachmentNotifRQ.FileAttachmentReference item)
Add a 'FileAttachmentReference' element item.

Parameters:
item -

getFileAttachmentReference

public FileAttachmentNotifRQ.FileAttachmentReference getFileAttachmentReference(int index)
Get 'FileAttachmentReference' element item by position.

Parameters:
index -
Returns:
item

clearFileAttachmentReferences

public void clearFileAttachmentReferences()
Remove all 'FileAttachmentReference' element items.


getPayloadStdAttributes

public OTAPayloadStdAttributes getPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setPayloadStdAttributes

public void setPayloadStdAttributes(OTAPayloadStdAttributes payloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
payloadStdAttributes -