org.ota.shared
Class CodeInfoGroup

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

public class CodeInfoGroup
extends java.lang.Object

This is intended to be used in conjunction with an attribute that uses an OpenTravel Code list. It is used to provide additional information about the code being referenced. May be used to give further detail on the code or to remove an obsolete item. 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="CodeInfoGroup">
   <xs:attribute type="xs:string" use="optional" name="CodeDetail"/>
   <xs:attributeGroup ref="ns:RemovalGroup"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RemovalGroup">
   <xs:attribute type="xs:boolean" use="optional" name="Removal"/>
 </xs:attributeGroup>
 


Constructor Summary
CodeInfoGroup()
           
 
Method Summary
 java.lang.String getCodeDetail()
          Get the 'CodeDetail' attribute value.
 java.lang.Boolean getRemoval()
          Get the 'Removal' attribute value.
 void setCodeDetail(java.lang.String codeDetail)
          Set the 'CodeDetail' attribute value.
 void setRemoval(java.lang.Boolean removal)
          Set the 'Removal' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeInfoGroup

public CodeInfoGroup()
Method Detail

getCodeDetail

public java.lang.String getCodeDetail()
Get the 'CodeDetail' attribute value. May be used to give further detail on the code.

Returns:
value

setCodeDetail

public void setCodeDetail(java.lang.String codeDetail)
Set the 'CodeDetail' attribute value. May be used to give further detail on the code.

Parameters:
codeDetail -

getRemoval

public java.lang.Boolean getRemoval()
Get the 'Removal' attribute value. If true, this item is obsolete and should be removed from the receiving system. false

Returns:
value

setRemoval

public void setRemoval(java.lang.Boolean removal)
Set the 'Removal' attribute value. If true, this item is obsolete and should be removed from the receiving system. false

Parameters:
removal -