net.sf.opendse.model
Class Node

java.lang.Object
  extended by net.sf.opendse.model.Element
      extended by net.sf.opendse.model.Node
All Implemented Interfaces:
IAttributes
Direct Known Subclasses:
Resource, Task

public abstract class Node
extends Element

The Node is the basic vertex element in a Graph.


Field Summary
 
Fields inherited from class net.sf.opendse.model.Element
attributes, id, parent, TYPE
 
Constructor Summary
Node(Element parent)
          Constructs a new node.
Node(java.lang.String id)
          Constructs a new node.
 
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

Node

public Node(java.lang.String id)
Constructs a new node.

Parameters:
id - the id

Node

public Node(Element parent)
Constructs a new node.

Parameters:
parent - the parent