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

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

public class EdgeClassID
extends GraphEntityClassID

An EdgeClassID identifies an edge 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
EdgeClassID(DataSourceURL dataSourceURL, java.io.Serializable internalIdentifier, java.lang.String name)
          Constructor.
 
Method Summary
 EdgeClass getEdgeClass()
          Returns the edge 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

EdgeClassID

public EdgeClassID(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

getEdgeClass

public EdgeClass getEdgeClass()
                       throws DragosException
Returns the edge class referenced by this ID.

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