|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.fleet.graph.TopologyNodeId
public abstract class TopologyNodeId
Identifier for a TopologyNode. Contains the node id (or the node name) and potentially the id (or name) of
the corresponding graph.
| Constructor Summary | |
|---|---|
protected |
TopologyNodeId(int nodeId)
|
| Method Summary | |
|---|---|
int |
getGraphId()
Gets the graph ID. |
String |
getGraphName()
Gets the name of the associated graph. |
int |
getId()
Gets the node ID. |
String |
getName()
Gets the name of the node. |
protected PropertyHolder |
getProperties()
Gets the properties of the node. |
protected com.kuka.nav.provider.util.ObjectMap<String> |
getTags()
Gets the tags of the node. |
boolean |
hasGraphName()
Checks if the node has a graph name set. |
boolean |
hasName()
Checks if the node has a name set. |
TopologyNodeId |
inGraph(int graphId)
Creates a new topology node identifier based on this one and "connecting" it (logically) to the graph with given id. |
TopologyNodeId |
inGraph(String graphName)
Creates a new topology node identifier based on this one and "connecting" it (logically) to the graph with given name. |
protected void |
setName(String name)
Sets the name of the node. |
String |
toString()
|
static TopologyNodeId |
withId(int id)
Creates a new topology node identifier with given ID. |
static TopologyNodeId |
withName(String name)
Creates a new topology node identifier with given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected TopologyNodeId(int nodeId)
| Method Detail |
|---|
public static TopologyNodeId withId(int id)
id - the node ID
public static TopologyNodeId withName(String name)
name - the node name
public int getId()
public boolean hasName()
public String getName()
public int getGraphId()
public boolean hasGraphName()
getGraphName()public String getGraphName()
hasGraphName()public TopologyNodeId inGraph(int graphId)
graphId - the graph ID
public TopologyNodeId inGraph(String graphName)
graphName - the graph name
public String toString()
toString in class Objectprotected PropertyHolder getProperties()
protected com.kuka.nav.provider.util.ObjectMap<String> getTags()
protected void setName(String name)
name - the name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||