org.ota.tour
Class TourInformation.Category.CategoryItem

java.lang.Object
  extended by org.ota.tour.TourInformation.Category.CategoryItem
Enclosing class:
TourInformation.Category

public static class TourInformation.Category.CategoryItem
extends java.lang.Object

Identifies an item for the specified category. 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="CategoryItem" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Name"/>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
TourInformation.Category.CategoryItem()
           
 
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

TourInformation.Category.CategoryItem

public TourInformation.Category.CategoryItem()
Method Detail

getName

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

Returns:
value

setName

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

Parameters:
name -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. A code for an item within a category.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. A code for an item within a category.

Parameters:
code -