i3.dragos.gm.core.id
Class NodeID
java.lang.Object
i3.dragos.gm.core.id.GraphEntityID
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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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.
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.