|
||||||||||
| 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.lists.POIS<PointOfInterest>
citysdk.tourism.client.poi.lists.ListPointOfInterest
public class ListPointOfInterest
Represents a list of PointOfInterest.
| Constructor Summary | |
|---|---|
ListPointOfInterest()
Creates an empty list of PointOfInterest. |
|
| Method Summary | |
|---|---|
void |
addPoi(PointOfInterest poi)
Adds a PointOfInterest. |
PointOfInterest |
get(int i)
Gets a given PointOfInterest. |
int |
getNumPois()
Returns the number of POIs stored |
java.util.List<PointOfInterest> |
getPois()
Gets all the POIs. |
| Methods inherited from class citysdk.tourism.client.poi.lists.POIS |
|---|
add, getList, size |
| 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 ListPointOfInterest()
PointOfInterest.
| Method Detail |
|---|
public void addPoi(PointOfInterest poi)
PointOfInterest.
poi - the PointOfInterest to be added.public java.util.List<PointOfInterest> getPois()
PointOfInterest.public PointOfInterest get(int i)
PointOfInterest.
get in class POIS<PointOfInterest>i - the index of the PointOfInterest.
PointOfInterest stored within the given index or null.public int getNumPois()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||