|
||||||||||
| 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
public class POIType
Representation of the POIType class of the UML Diagram found in: http://www.w3.org/2010/POI/documents/Core/core-20111216.html#poi-data-model.
The POIType entity is an abstract entity derived from POIBaseType and adds entities
for describing, labeling, categorizing and indicating the time span of a POI or group of POIs.
The entity also incudes child entities for linking to other POIs, external web resources or
metadata.
It is composed of:
| Constructor Summary | |
|---|---|
POIType()
Creates an empty POIType. |
|
| Method Summary | |
|---|---|
void |
addCategory(POITermType category)
Adds a category to the POIType. |
void |
addDescription(POIBaseType description)
Adds a description to the POIType. |
void |
addLabel(POITermType label)
Adds a label to the POIType. |
void |
addLink(POITermType link)
Adds a link to the POIType. |
void |
addTime(POITermType time)
Adds a time to the POIType. |
java.util.List<POITermType> |
getCategory()
Gets all the categories of the POIType. |
java.util.List<POIBaseType> |
getDescription()
Gets all the descriptions of the POIType. |
java.util.List<POITermType> |
getLabel()
Gets all the labels of the POIType. |
java.util.List<POITermType> |
getLink()
Gets all the links of the POIType. |
java.util.List<POITermType> |
getTime()
Gets all the times of the POIType. |
boolean |
hasCategories()
Checks if there are categories in the POIType. |
boolean |
hasDescriptions()
Checks if there are descriptions in the POIType. |
boolean |
hasLabels()
Checks if there are labels in the POIType. |
boolean |
hasLinks()
Checks if there are links in the POIType. |
boolean |
hasTimes()
Checks if there are times in the POIType. |
| 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 POIType()
| Method Detail |
|---|
public void addCategory(POITermType category)
category - the category to be added.public void addLabel(POITermType label)
label - the label to be added.public void addDescription(POIBaseType description)
description - the description to be added.public void addTime(POITermType time)
time - the time to be added.public void addLink(POITermType link)
link - the link to be added.public java.util.List<POITermType> getLabel()
public java.util.List<POIBaseType> getDescription()
public java.util.List<POITermType> getTime()
public java.util.List<POITermType> getLink()
public java.util.List<POITermType> getCategory()
public boolean hasLabels()
true if there are labels in the POIType, false otherwisepublic boolean hasDescriptions()
true if there are descriptions in the POIType, false otherwise.public boolean hasTimes()
true if there are times in the POIType, false otherwise.public boolean hasLinks()
true if there are links in the POIType, false otherwise.public boolean hasCategories()
true if there are categories in the POIType, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||