citysdk.tourism.client.poi.lists
Class ListPOIS

java.lang.Object
  extended by citysdk.tourism.client.poi.base.POIBaseType
      extended by citysdk.tourism.client.poi.base.POIType
          extended by citysdk.tourism.client.poi.single.POI
              extended by citysdk.tourism.client.poi.lists.ListPOIS
All Implemented Interfaces:
Deserializable

public class ListPOIS
extends POI

A list of lists (containing ListPointOfInterest, ListEvent and ListRoute).

Author:
Pedro Cruz

Constructor Summary
ListPOIS()
           
 
Method Summary
 ListEvent getListEvent()
           
 ListPointOfInterest getListPoi()
           
 ListRoute getListRoute()
           
 boolean hasEvents()
          Checks whether this list has Events
 boolean hasPois()
          Checks whether this list has Points of Interest
 boolean hasRoutes()
          Checks whether this list has Routes
 void setListEvent(ListEvent listEvent)
           
 void setListPoi(ListPointOfInterest listPoi)
           
 void setListRoute(ListRoute listRoute)
           
 
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

ListPOIS

public ListPOIS()
Method Detail

getListPoi

public ListPointOfInterest getListPoi()

setListPoi

public void setListPoi(ListPointOfInterest listPoi)

getListEvent

public ListEvent getListEvent()

setListEvent

public void setListEvent(ListEvent listEvent)

getListRoute

public ListRoute getListRoute()

setListRoute

public void setListRoute(ListRoute listRoute)

hasPois

public boolean hasPois()
Checks whether this list has Points of Interest

Returns:
true if it has points of interest, false otherwise

hasEvents

public boolean hasEvents()
Checks whether this list has Events

Returns:
true if it has events, false otherwise

hasRoutes

public boolean hasRoutes()
Checks whether this list has Routes

Returns:
true if it has routes, false otherwise