com.kuka.nav.fleet.graph
Interface GraphData


public interface GraphData

Interface for the high level environment model data source.


Method Summary
 TopologyGraph get(int id)
          Loads the graph with the given id from the data source.
 TopologyGraph get(String name)
          Loads the graph with the given name from the data source.
 Collection<TopologyGraph> getAll()
          Loads all graphs from the data source.
 Collection<TopologyGraph> getAllOnMap(int mapId)
          Loads all graphs from the data source located on the map specified by the given id.
 

Method Detail

getAll

Collection<TopologyGraph> getAll()
Loads all graphs from the data source.

Returns:
a collection containing all graphs

getAllOnMap

Collection<TopologyGraph> getAllOnMap(int mapId)
Loads all graphs from the data source located on the map specified by the given id.

Parameters:
mapId - the map id
Returns:
a collection of all graphs located on the specified map

get

TopologyGraph get(int id)
Loads the graph with the given id from the data source.

Parameters:
id - id of the graph to load from data source
Returns:
the graph or null if no graph with the given id exists

get

TopologyGraph get(String name)
Loads the graph with the given name from the data source.

Parameters:
name - name of the graph to load from data source
Returns:
the graph or null if no graph with the given name exists


Copyright © 2019. All rights reserved.