org.ota.hotel
Class InvBlockNotifRS.InvBlockCodeRefs

java.lang.Object
  extended by org.ota.hotel.InvBlockCodeRef
      extended by org.ota.hotel.InvBlockNotifRS.InvBlockCodeRefs
Enclosing class:
InvBlockNotifRS

public static class InvBlockNotifRS.InvBlockCodeRefs
extends InvBlockCodeRef

This accommodates responses for multiple inventory blocks. 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="InvBlockCodeRefs" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:InvBlockCodeRefType">
         <xs:sequence>
           <xs:element type="ns:InvBlockCodeRefType" name="InvBlockCodeRef" maxOccurs="unbounded"/>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
InvBlockNotifRS.InvBlockCodeRefs()
           
 
Method Summary
 void addInvBlockCodeRef(InvBlockCodeRef item)
          Add a 'InvBlockCodeRef' element item.
 void clearInvBlockCodeRefs()
          Remove all 'InvBlockCodeRef' element items.
 InvBlockCodeRef getInvBlockCodeRef(int index)
          Get 'InvBlockCodeRef' element item by position.
 java.util.List<InvBlockCodeRef> getInvBlockCodeRefs()
          Get the list of 'InvBlockCodeRef' element items.
 void setInvBlockCodeRefs(java.util.List<InvBlockCodeRef> list)
          Set the list of 'InvBlockCodeRef' element items.
 int sizeInvBlockCodeRefs()
          Get the number of 'InvBlockCodeRef' element items.
 
Methods inherited from class org.ota.hotel.InvBlockCodeRef
getHotelRef, getInvBlockCode, getInvBlockGroupingCode, getInvSystemInvBlockCode, getInvSystemInvBlockGroupingCode, setHotelRef, setInvBlockCode, setInvBlockGroupingCode, setInvSystemInvBlockCode, setInvSystemInvBlockGroupingCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvBlockNotifRS.InvBlockCodeRefs

public InvBlockNotifRS.InvBlockCodeRefs()
Method Detail

getInvBlockCodeRefs

public java.util.List<InvBlockCodeRef> getInvBlockCodeRefs()
Get the list of 'InvBlockCodeRef' element items. This contains inventory block codes used between the sending and receiving systems. It acknowledges the creation of the block to the sender and may provide codes for cross reference.

Returns:
list

setInvBlockCodeRefs

public void setInvBlockCodeRefs(java.util.List<InvBlockCodeRef> list)
Set the list of 'InvBlockCodeRef' element items. This contains inventory block codes used between the sending and receiving systems. It acknowledges the creation of the block to the sender and may provide codes for cross reference.

Parameters:
list -

sizeInvBlockCodeRefs

public int sizeInvBlockCodeRefs()
Get the number of 'InvBlockCodeRef' element items.

Returns:
count

addInvBlockCodeRef

public void addInvBlockCodeRef(InvBlockCodeRef item)
Add a 'InvBlockCodeRef' element item.

Parameters:
item -

getInvBlockCodeRef

public InvBlockCodeRef getInvBlockCodeRef(int index)
Get 'InvBlockCodeRef' element item by position.

Parameters:
index -
Returns:
item

clearInvBlockCodeRefs

public void clearInvBlockCodeRefs()
Remove all 'InvBlockCodeRef' element items.