org.ota.hotel
Class InventoryGroup

java.lang.Object
  extended by org.ota.hotel.InventoryGroup

public class InventoryGroup
extends java.lang.Object

Used to define the inventory code. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="InventoryGroup">
   <xs:attribute use="optional" name="InvCodeApplication">
     <xs:simpleType>
       <!-- Reference to inner class InvCodeApplication -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:string" use="optional" name="InvCode"/>
   <xs:attribute type="xs:string" use="optional" name="InvType"/>
   <xs:attribute type="xs:string" use="optional" name="InvTypeCode"/>
   <xs:attribute type="xs:boolean" use="optional" name="IsRoom"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class InventoryGroup.InvCodeApplication
          Schema fragment(s) for this class:
 
Constructor Summary
InventoryGroup()
           
 
Method Summary
 java.lang.String getInv()
          Get the 'InvType' attribute value.
 java.lang.String getInvCode()
          Get the 'InvCode' attribute value.
 InventoryGroup.InvCodeApplication getInvCodeApplication()
          Get the 'InvCodeApplication' attribute value.
 java.lang.String getInvTypeCode()
          Get the 'InvTypeCode' attribute value.
 java.lang.Boolean getIsRoom()
          Get the 'IsRoom' attribute value.
 void setInv(java.lang.String inv)
          Set the 'InvType' attribute value.
 void setInvCode(java.lang.String invCode)
          Set the 'InvCode' attribute value.
 void setInvCodeApplication(InventoryGroup.InvCodeApplication invCodeApplication)
          Set the 'InvCodeApplication' attribute value.
 void setInvTypeCode(java.lang.String invTypeCode)
          Set the 'InvTypeCode' attribute value.
 void setIsRoom(java.lang.Boolean isRoom)
          Set the 'IsRoom' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InventoryGroup

public InventoryGroup()
Method Detail

getInvCodeApplication

public InventoryGroup.InvCodeApplication getInvCodeApplication()
Get the 'InvCodeApplication' attribute value. An enumerated type that identifies whether the InvCode is a single item which can be inventoried or a group of items which can be inventoried. Values are: Does Not Apply, Inventory Code, Inventory Grouping Code.

Returns:
value

setInvCodeApplication

public void setInvCodeApplication(InventoryGroup.InvCodeApplication invCodeApplication)
Set the 'InvCodeApplication' attribute value. An enumerated type that identifies whether the InvCode is a single item which can be inventoried or a group of items which can be inventoried. Values are: Does Not Apply, Inventory Code, Inventory Grouping Code.

Parameters:
invCodeApplication -

getInvCode

public java.lang.String getInvCode()
Get the 'InvCode' attribute value. Code that identifies an inventory item.

Returns:
value

setInvCode

public void setInvCode(java.lang.String invCode)
Set the 'InvCode' attribute value. Code that identifies an inventory item.

Parameters:
invCode -

getInv

public java.lang.String getInv()
Get the 'InvType' attribute value. A value that indicates the type of inventory for which this request is made. If the inventory item is a room, typical values could be double, king, etc.

Returns:
value

setInv

public void setInv(java.lang.String inv)
Set the 'InvType' attribute value. A value that indicates the type of inventory for which this request is made. If the inventory item is a room, typical values could be double, king, etc.

Parameters:
inv -

getInvTypeCode

public java.lang.String getInvTypeCode()
Get the 'InvTypeCode' attribute value. Specific system inventory type code. If the inventory item is a room, typical values could be room type code, e.g.: A1K, A1Q etc. Values may use the OpenTravel Code list or a code specific to the property or hotel brand.

Returns:
value

setInvTypeCode

public void setInvTypeCode(java.lang.String invTypeCode)
Set the 'InvTypeCode' attribute value. Specific system inventory type code. If the inventory item is a room, typical values could be room type code, e.g.: A1K, A1Q etc. Values may use the OpenTravel Code list or a code specific to the property or hotel brand.

Parameters:
invTypeCode -

getIsRoom

public java.lang.Boolean getIsRoom()
Get the 'IsRoom' attribute value. Simple indicator to detect if inventory is a room.

Returns:
value

setIsRoom

public void setIsRoom(java.lang.Boolean isRoom)
Set the 'IsRoom' attribute value. Simple indicator to detect if inventory is a room.

Parameters:
isRoom -