org.ota.shared
Class CodeGroup

java.lang.Object
  extended by org.ota.shared.CodeGroup

public class CodeGroup
extends java.lang.Object

Used to specify a code and the context of the 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="CodeGroup">
   <xs:attribute type="xs:string" use="optional" name="Code"/>
   <xs:attribute type="xs:string" use="optional" name="CodeContext"/>
 </xs:attributeGroup>
 


Constructor Summary
CodeGroup()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getCodeContext()
          Get the 'CodeContext' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeContext(java.lang.String codeContext)
          Set the 'CodeContext' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeGroup

public CodeGroup()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Any code used to specify an item, for example, type of traveler, service code, room amenity, etc.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Any code used to specify an item, for example, type of traveler, service code, room amenity, etc.

Parameters:
code -

getCodeContext

public java.lang.String getCodeContext()
Get the 'CodeContext' attribute value. Identifies the source authority for the code.

Returns:
value

setCodeContext

public void setCodeContext(java.lang.String codeContext)
Set the 'CodeContext' attribute value. Identifies the source authority for the code.

Parameters:
codeContext -