org.ota.shared
Class OptionalCodeOptionalNameGroup

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

public class OptionalCodeOptionalNameGroup
extends java.lang.Object

An attribute group to be used when the associated item has an optional code and an optional name. 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="OptionalCodeOptionalNameGroup">
   <xs:attribute type="xs:string" use="optional" name="Code"/>
   <xs:attribute type="xs:string" use="optional" name="Name"/>
 </xs:attributeGroup>
 


Constructor Summary
OptionalCodeOptionalNameGroup()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getName()
          Get the 'Name' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setName(java.lang.String name)
          Set the 'Name' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionalCodeOptionalNameGroup

public OptionalCodeOptionalNameGroup()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Provides the code identifying the item.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Provides the code identifying the item.

Parameters:
code -

getName

public java.lang.String getName()
Get the 'Name' attribute value. The name of an item.

Returns:
value

setName

public void setName(java.lang.String name)
Set the 'Name' attribute value. The name of an item.

Parameters:
name -