org.ota.hotel
Class Event.EventInner.Sites.Site.ShippingReceivingDetails.ShippingReceivingDetail

java.lang.Object
  extended by org.ota.hotel.Event.EventInner.Sites.Site.ShippingReceivingDetails.ShippingReceivingDetail
Enclosing class:
Event.EventInner.Sites.Site.ShippingReceivingDetails

public static class Event.EventInner.Sites.Site.ShippingReceivingDetails.ShippingReceivingDetail
extends java.lang.Object

The shipping and receiving details for a specific shipment. 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="ShippingReceivingDetail" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ContactPersonType" name="Contact" minOccurs="0" maxOccurs="3"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="TrackingNumber"/>
     <xs:attributeGroup ref="ns:QuantityGroup"/>
     <xs:attribute type="xs:string" use="optional" name="ExpectedDeliveryDate"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="QuantityGroup">
   <xs:attribute type="xs:int" use="optional" name="Quantity"/>
 </xs:attributeGroup>
 


Constructor Summary
Event.EventInner.Sites.Site.ShippingReceivingDetails.ShippingReceivingDetail()
           
 
Method Summary
 void addContact(ContactPerson item)
          Add a 'Contact' element item.
 void clearContacts()
          Remove all 'Contact' element items.
 ContactPerson getContact(int index)
          Get 'Contact' element item by position.
 java.util.List<ContactPerson> getContacts()
          Get the list of 'Contact' element items.
 java.lang.String getExpectedDeliveryDate()
          Get the 'ExpectedDeliveryDate' attribute value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 java.lang.String getTrackingNumber()
          Get the 'TrackingNumber' attribute value.
 void setContacts(java.util.List<ContactPerson> list)
          Set the list of 'Contact' element items.
 void setExpectedDeliveryDate(java.lang.String expectedDeliveryDate)
          Set the 'ExpectedDeliveryDate' attribute value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setTrackingNumber(java.lang.String trackingNumber)
          Set the 'TrackingNumber' attribute value.
 int sizeContacts()
          Get the number of 'Contact' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event.EventInner.Sites.Site.ShippingReceivingDetails.ShippingReceivingDetail

public Event.EventInner.Sites.Site.ShippingReceivingDetails.ShippingReceivingDetail()
Method Detail

getContacts

public java.util.List<ContactPerson> getContacts()
Get the list of 'Contact' element items. Contact information for the sender, receiver and shipping company.

Returns:
list

setContacts

public void setContacts(java.util.List<ContactPerson> list)
Set the list of 'Contact' element items. Contact information for the sender, receiver and shipping company.

Parameters:
list -

sizeContacts

public int sizeContacts()
Get the number of 'Contact' element items.

Returns:
count

addContact

public void addContact(ContactPerson item)
Add a 'Contact' element item.

Parameters:
item -

getContact

public ContactPerson getContact(int index)
Get 'Contact' element item by position.

Parameters:
index -
Returns:
item

clearContacts

public void clearContacts()
Remove all 'Contact' element items.


getTrackingNumber

public java.lang.String getTrackingNumber()
Get the 'TrackingNumber' attribute value. The tracking number for the shipment.

Returns:
value

setTrackingNumber

public void setTrackingNumber(java.lang.String trackingNumber)
Set the 'TrackingNumber' attribute value. The tracking number for the shipment.

Parameters:
trackingNumber -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Parameters:
quantity -

getExpectedDeliveryDate

public java.lang.String getExpectedDeliveryDate()
Get the 'ExpectedDeliveryDate' attribute value. The date the shipment is expected to be delivered.

Returns:
value

setExpectedDeliveryDate

public void setExpectedDeliveryDate(java.lang.String expectedDeliveryDate)
Set the 'ExpectedDeliveryDate' attribute value. The date the shipment is expected to be delivered.

Parameters:
expectedDeliveryDate -