i3.dragos.gm.core.id
Class NodeID

java.lang.Object
  extended by i3.dragos.gm.core.id.GraphEntityID
      extended by i3.dragos.gm.core.id.NodeID
All Implemented Interfaces:
java.io.Serializable

public class NodeID
extends GraphEntityID

A NodeID is used to uniquely identify a node.

Author:
Boris Boehlen <boehlen@cs.rwth-aachen.de>, Thorsten Hermes <thermes@i3.informatik.rwth-aachen.de>
See Also:
Core Graph Model , Implementation Issues , Serialized Form

Constructor Summary
NodeID(DataSourceURL dataSourceURL, java.io.Serializable internalIdentifier, NodeClassID typeID)
          Constructs a new ID representing a node.
 
Method Summary
 Node getNode()
          Returns the Node referenced by this ID.
 NodeClassID getNodeClassID()
          Returns the node's type.
 
Methods inherited from class i3.dragos.gm.core.id.GraphEntityID
equals, getDataSourceURL, getGraphEntity, getGraphEntityClassID, getInternalIdentifier, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeID

public NodeID(DataSourceURL dataSourceURL,
              java.io.Serializable internalIdentifier,
              NodeClassID typeID)
Constructs a new ID representing a node.

Parameters:
dataSourceURL - The DataSourceURL where this node is stored.
internalIdentifier - Internal node ID.
typeID - TypeID of this node's type.
Method Detail

getNode

public Node getNode()
             throws DragosException
Returns the Node referenced by this ID.

Returns:
The Node referenced by this ID.
Throws:
DragosException - in case of internal errors.

getNodeClassID

public NodeClassID getNodeClassID()
Returns the node's type.

Returns:
the node's type.


Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.