i3.dragos.gm.core.schema.id
Class NodeClassID
java.lang.Object
i3.dragos.gm.core.schema.id.GraphEntityClassID
i3.dragos.gm.core.schema.id.NodeClassID
- All Implemented Interfaces:
- java.io.Serializable
public class NodeClassID
- extends GraphEntityClassID
An NodeClassID
identifies an node class in the Schema.
- 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 |
NodeClassID(DataSourceURL dataSourceURL,
java.io.Serializable internalIdentifier,
java.lang.String name)
Constructor. |
Method Summary |
NodeClass |
getNodeClass()
Returns the node class referenced by this ID. |
boolean |
isSubclassID()
Returns true if this is an ID of a subclass (edge,
node...), false if this is an ID of a GraphEntityClass
itself. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NodeClassID
public NodeClassID(DataSourceURL dataSourceURL,
java.io.Serializable internalIdentifier,
java.lang.String name)
- Constructor.
- Parameters:
dataSourceURL
- The dataSourceURL of the GraphPool.internalIdentifier
- The internal id of this class.name
- The name of this class.
getNodeClass
public NodeClass getNodeClass()
throws DragosException
- Returns the node class referenced by this ID.
- Returns:
- the node class referenced by this ID.
- Throws:
DragosException
- in case of internal errors.
isSubclassID
public final boolean isSubclassID()
- Returns
true
if this is an ID of a subclass (edge,
node...), false
if this is an ID of a GraphEntityClass
itself.
- Overrides:
isSubclassID
in class GraphEntityClassID
- Returns:
true
if this is an ID of a subclass (edge,
node...), false
if this is an ID of a
GraphEntityClass itself.
Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.