|
||||||||||
| 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.Route
public class Route
A simple representation of a Route.
A Route is a set of PointOfInterest ordered by a given theme - represented by a ListPointOfInterest.
| Constructor Summary | |
|---|---|
Route()
Initializes an empty Route with an empty ListPointOfInterest. |
|
| Method Summary | |
|---|---|
void |
addPoi(PointOfInterest poi)
Adds a PointOfInterest to the Route. |
ListPointOfInterest |
getListPoi()
Gets the ListPointOfInterest of the Route. |
int |
getNumPois()
Gets the number of PointOfInterests that the Route has. |
PointOfInterest |
getPoi(int i)
Gets the PointOfInterest in a given index of a Route. |
| 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 Route()
Route with an empty ListPointOfInterest.
| Method Detail |
|---|
public void addPoi(PointOfInterest poi)
PointOfInterest to the Route.
poi - the PointOfInterest to be added.public int getNumPois()
PointOfInterests that the Route has.
PointOfInterest.public PointOfInterest getPoi(int i)
PointOfInterest in a given index of a Route.
i - the index of the PointOfInterest.
PointOfInterest stored in the index.public ListPointOfInterest getListPoi()
ListPointOfInterest of the Route.
ListPointOfInterest of the Route.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||