|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LocationData
Access methods for local locations data source.
| Method Summary | |
|---|---|
Location |
get(int locationId)
Returns a specific location with the given id in the data source. |
Location |
get(int mapId,
String locationName)
Returns a specific location with the given name associated to the map with the given id in the data source. |
Location |
get(String mapName,
String locationName)
Returns a specific location with the given name associated to the map with the given name in the data source. |
Collection<Location> |
getAll()
Returns a list of all locations. |
Collection<Location> |
getAllOnMap(int mapId)
Returns the list of locations associated to map with the given id in the data source. |
Collection<Location> |
getAllOnMap(String mapName)
Returns the list of locations associated to the map with the given name in the data source. |
| Method Detail |
|---|
Collection<Location> getAll()
Collection<Location> getAllOnMap(int mapId)
mapId - The id of the map for which the locations are to be returned.
Collection<Location> getAllOnMap(String mapName)
mapName - The name of the map for which the locations are to be returned.
Location get(int locationId)
locationId - the id of the location to be returned
Location get(int mapId,
String locationName)
mapId - the id of the associated maplocationName - the name of the location to be returned
Location get(String mapName,
String locationName)
mapName - the name of the associated maplocationName - the name of the location to be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||