org.ota.shared
Class RecipientInfos.RecipientInfo

java.lang.Object
  extended by org.ota.shared.ContactPerson
      extended by org.ota.shared.RecipientInfos.RecipientInfo
Enclosing class:
RecipientInfos

public static class RecipientInfos.RecipientInfo
extends ContactPerson

Contact and/or reservation information pertaining to the recipient. 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="RecipientInfo" maxOccurs="99">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:ContactPersonType">
         <xs:sequence>
           <xs:element type="ns:UniqueID_Type" name="ReservationID" minOccurs="0" maxOccurs="2"/>
           <xs:element name="ShippingInfo" minOccurs="0">
             <!-- Reference to inner class ShippingInfo -->
           </xs:element>
           <xs:element name="Comments" minOccurs="0">
             <!-- Reference to inner class Comments -->
           </xs:element>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RecipientInfos.RecipientInfo.Comments
          A collection of comments.
static class RecipientInfos.RecipientInfo.ShippingInfo
          Informtion pertaining to the shipment of a product to the recipient.
 
Constructor Summary
RecipientInfos.RecipientInfo()
           
 
Method Summary
 void addReservationID(UniqueID item)
          Add a 'ReservationID' element item.
 void clearReservationIDs()
          Remove all 'ReservationID' element items.
 RecipientInfos.RecipientInfo.Comments getComments()
          Get the 'Comments' element value.
 UniqueID getReservationID(int index)
          Get 'ReservationID' element item by position.
 java.util.List<UniqueID> getReservationIDs()
          Get the list of 'ReservationID' element items.
 RecipientInfos.RecipientInfo.ShippingInfo getShippingInfo()
          Get the 'ShippingInfo' element value.
 void setComments(RecipientInfos.RecipientInfo.Comments comments)
          Set the 'Comments' element value.
 void setReservationIDs(java.util.List<UniqueID> list)
          Set the list of 'ReservationID' element items.
 void setShippingInfo(RecipientInfos.RecipientInfo.ShippingInfo shippingInfo)
          Set the 'ShippingInfo' element value.
 int sizeReservationIDs()
          Get the number of 'ReservationID' element items.
 
Methods inherited from class org.ota.shared.ContactPerson
addAddress, addCompanyName, addEmail, addEmployeeInfo, addTelephone, addURL, clearAddresses, clearCompanyNames, clearEmails, clearEmployeeInfos, clearTelephones, clearURLs, getAddress, getAddresses, getCommunicationMethodCode, getCompanyName, getCompanyNames, getContact, getDefaultInd, getDocumentDistribMethodCode, getEmail, getEmails, getEmergencyFlag, getEmployeeInfo, getEmployeeInfos, getPersonName, getPrivacyGroup, getRelation, getRPH, getTelephone, getTelephones, getURL, getURLs, setAddresses, setCommunicationMethodCode, setCompanyNames, setContact, setDefaultInd, setDocumentDistribMethodCode, setEmails, setEmergencyFlag, setEmployeeInfos, setPersonName, setPrivacyGroup, setRelation, setRPH, setTelephones, setURLs, sizeAddresses, sizeCompanyNames, sizeEmails, sizeEmployeeInfos, sizeTelephones, sizeURLs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipientInfos.RecipientInfo

public RecipientInfos.RecipientInfo()
Method Detail

getReservationIDs

public java.util.List<UniqueID> getReservationIDs()
Get the list of 'ReservationID' element items. Provides the reservation number of the recipient for delivery of the product.

Returns:
list

setReservationIDs

public void setReservationIDs(java.util.List<UniqueID> list)
Set the list of 'ReservationID' element items. Provides the reservation number of the recipient for delivery of the product.

Parameters:
list -

sizeReservationIDs

public int sizeReservationIDs()
Get the number of 'ReservationID' element items.

Returns:
count

addReservationID

public void addReservationID(UniqueID item)
Add a 'ReservationID' element item.

Parameters:
item -

getReservationID

public UniqueID getReservationID(int index)
Get 'ReservationID' element item by position.

Parameters:
index -
Returns:
item

clearReservationIDs

public void clearReservationIDs()
Remove all 'ReservationID' element items.


getShippingInfo

public RecipientInfos.RecipientInfo.ShippingInfo getShippingInfo()
Get the 'ShippingInfo' element value.

Returns:
value

setShippingInfo

public void setShippingInfo(RecipientInfos.RecipientInfo.ShippingInfo shippingInfo)
Set the 'ShippingInfo' element value.

Parameters:
shippingInfo -

getComments

public RecipientInfos.RecipientInfo.Comments getComments()
Get the 'Comments' element value.

Returns:
value

setComments

public void setComments(RecipientInfos.RecipientInfo.Comments comments)
Set the 'Comments' element value.

Parameters:
comments -