|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcitysdk.tourism.client.poi.base.POIBaseType
citysdk.tourism.client.poi.base.POIType
citysdk.tourism.client.poi.single.POI
citysdk.tourism.client.poi.single.Category
public class Category
Representation of a Category object.
A Category is used to characterize PointOfInterest, Event or Route.
It can contain its own set of sub-categories.
| Constructor Summary | |
|---|---|
Category()
|
|
| Method Summary | |
|---|---|
void |
addCategory(Category category)
Adds a Category to this Category. |
Category |
getCategory(int i)
Gets the category at a given index |
int |
getNumCategories()
Gets the number of sub categories in the Category. |
java.util.List<Category> |
getSubCategories()
Gets all the sub categories of the Category. |
boolean |
hasSubCategories()
Checks whether this Category has sub-categories. |
| Methods inherited from class citysdk.tourism.client.poi.single.POI |
|---|
getLocation, hasAddress, setLocation |
| Methods inherited from class citysdk.tourism.client.poi.base.POIType |
|---|
addCategory, addDescription, addLabel, addLink, addTime, getCategory, getDescription, getLabel, getLink, getTime, hasCategories, hasDescriptions, hasLabels, hasLinks, hasTimes |
| Methods inherited from class citysdk.tourism.client.poi.base.POIBaseType |
|---|
getAuthor, getBase, getCreated, getDeleted, getHref, getId, getLang, getLicense, getType, getUpdated, getValue, setAuthor, setBase, setCreated, setDeleted, setHref, setId, setLang, setLicense, setType, setUpdated, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Category()
| Method Detail |
|---|
public java.util.List<Category> getSubCategories()
Category.
Category.public void addCategory(Category category)
Category to this Category.
category - Category to be added.public Category getCategory(int i)
i - an index
public int getNumCategories()
Category.
public boolean hasSubCategories()
Category has sub-categories.
true if it has sub-categories, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||