|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.tour.TourInformation.Category
public static class TourInformation.Category
Provides information on a specific aspect of a tour. 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="Category" minOccurs="0" maxOccurs="5"> <xs:complexType> <xs:sequence> <xs:element name="CategoryItem" maxOccurs="unbounded"> <!-- Reference to inner class CategoryItem --> </xs:element> </xs:sequence> <xs:attribute use="optional" name="Type"> <xs:simpleType> <!-- Reference to inner class Type --> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
TourInformation.Category.CategoryItem
Identifies an item for the specified category. |
static class |
TourInformation.Category.Type
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
TourInformation.Category()
|
Method Summary | |
---|---|
void |
addCategoryItem(TourInformation.Category.CategoryItem item)
Add a 'CategoryItem' element item. |
void |
clearCategoryItems()
Remove all 'CategoryItem' element items. |
TourInformation.Category.CategoryItem |
getCategoryItem(int index)
Get 'CategoryItem' element item by position. |
java.util.List<TourInformation.Category.CategoryItem> |
getCategoryItems()
Get the list of 'CategoryItem' element items. |
TourInformation.Category.Type |
getType()
Get the 'Type' attribute value. |
void |
setCategoryItems(java.util.List<TourInformation.Category.CategoryItem> list)
Set the list of 'CategoryItem' element items. |
void |
setType(TourInformation.Category.Type type)
Set the 'Type' attribute value. |
int |
sizeCategoryItems()
Get the number of 'CategoryItem' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TourInformation.Category()
Method Detail |
---|
public java.util.List<TourInformation.Category.CategoryItem> getCategoryItems()
public void setCategoryItems(java.util.List<TourInformation.Category.CategoryItem> list)
list
- public int sizeCategoryItems()
public void addCategoryItem(TourInformation.Category.CategoryItem item)
item
- public TourInformation.Category.CategoryItem getCategoryItem(int index)
index
-
public void clearCategoryItems()
public TourInformation.Category.Type getType()
public void setType(TourInformation.Category.Type type)
type
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |