i3.dragos.gm.core.schema.id
Class GraphClassID

java.lang.Object
  extended by i3.dragos.gm.core.schema.id.GraphEntityClassID
      extended by i3.dragos.gm.core.schema.id.GraphClassID
All Implemented Interfaces:
java.io.Serializable

public class GraphClassID
extends GraphEntityClassID

A GraphClassID identifies an graph 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
GraphClassID(DataSourceURL dataSourceURL, java.io.Serializable internalIdentifier, java.lang.String name)
          Constructor.
 
Method Summary
 GraphClass getGraphClass()
          Returns the graph 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 i3.dragos.gm.core.schema.id.GraphEntityClassID
equals, getDataSourceURL, getGraphEntityClass, getInternalIdentifier, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphClassID

public GraphClassID(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.
Method Detail

getGraphClass

public GraphClass getGraphClass()
                         throws DragosException
Returns the graph class referenced by this ID.

Returns:
the graph 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.