com.kuka.nav.fleet.graph
Class TopologyEdge

java.lang.Object
  extended by com.kuka.graph.impl.DefaultEdge<TopologyNode>
      extended by com.kuka.nav.fleet.graph.TopologyEdge
All Implemented Interfaces:
com.kuka.graph.Edge<TopologyNode>

public class TopologyEdge
extends com.kuka.graph.impl.DefaultEdge<TopologyNode>

The topology graph edge implementation.


Constructor Summary
TopologyEdge(TopologyNode source, TopologyNode target)
          Instantiates a new topology edge edge from source node to target node.
 
Method Summary
 String getCustomUserData()
          Returns the CustomUserData value as a String if exist.
 PropertyHolder getProperties()
          Gets the properties of the topology graph edge.
 com.kuka.nav.provider.util.ObjectMap<String> getTags()
          Gets the tags of the toplogy graph edge.
protected  void resetOwner()
          Removes the current owner.
protected  void setOwner(TopologyGraph graph)
          Sets the graph containing this edge.
 
Methods inherited from class com.kuka.graph.impl.DefaultEdge
getSource, getTarget, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopologyEdge

public TopologyEdge(TopologyNode source,
                    TopologyNode target)
Instantiates a new topology edge edge from source node to target node.

Parameters:
source - the source node
target - the target node
Method Detail

getProperties

public PropertyHolder getProperties()
Gets the properties of the topology graph edge.

Returns:
the properties

getTags

public com.kuka.nav.provider.util.ObjectMap<String> getTags()
Gets the tags of the toplogy graph edge.

Returns:
the tags

getCustomUserData

public String getCustomUserData()
Returns the CustomUserData value as a String if exist. Returns with null if not exist.

Returns:
the CustomUserData

setOwner

protected void setOwner(TopologyGraph graph)
Sets the graph containing this edge.

Parameters:
graph - the graph containing this edge

resetOwner

protected void resetOwner()
Removes the current owner.



Copyright © 2019. All rights reserved.