|
||||||||||
| 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.Tag
public class Tag
Representation of a Tag object.
A Tag is used to characterize PointOfInterest, Event or Route.
| Constructor Summary | |
|---|---|
Tag()
Initializes an empty Tag |
|
| Method Summary | |
|---|---|
void |
addTag(Tag tag)
Adds a Tag value |
int |
getNumTags()
Gets the number of Tag values |
Tag |
getTag(int i)
Gets the Tag in index i |
java.util.List<Tag> |
getTags()
Gets all the tags. |
| 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 Tag()
Tag
| Method Detail |
|---|
public java.util.List<Tag> getTags()
Tag valuespublic void addTag(Tag tag)
Tag value
tag - Tag value to be addedpublic Tag getTag(int i)
Tag in index i
i - the Tag index
Tag at index i or nullpublic int getNumTags()
Tag values
Tag values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||