net.sf.opendse.model
Class Edge

java.lang.Object
  extended by net.sf.opendse.model.Element
      extended by net.sf.opendse.model.Edge
All Implemented Interfaces:
IAttributes
Direct Known Subclasses:
Dependency, Link

public abstract class Edge
extends Element

The Edge is the basic edge element in a Graph.


Field Summary
 
Fields inherited from class net.sf.opendse.model.Element
attributes, id, parent, TYPE
 
Constructor Summary
Edge(Element parent)
          Constructs a new edge.
Edge(java.lang.String id)
          Constructs a new edge.
 
Method Summary
 
Methods inherited from class net.sf.opendse.model.Element
equals, getAttribute, getAttributeNames, getAttributeParameter, getAttributes, getId, getLocalAttributeNames, getLocalAttributes, getParent, getType, hashCode, isDefined, setAttribute, setParent, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Edge

public Edge(java.lang.String id)
Constructs a new edge.

Parameters:
id - the id

Edge

public Edge(Element parent)
Constructs a new edge.

Parameters:
parent - the parent