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

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

public class RelationEndClassID
extends GraphEntityClassID

A RelationEndClassID identifies a relation end 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
RelationEndClassID(DataSourceURL dataSourceURL, java.io.Serializable internalIdentifier, java.lang.String name)
          Creates a new RelationEndClassID.
 
Method Summary
 RelationEndClass getRelationEndClass()
          Returns the relation end 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

RelationEndClassID

public RelationEndClassID(DataSourceURL dataSourceURL,
                          java.io.Serializable internalIdentifier,
                          java.lang.String name)
Creates a new RelationEndClassID.

Parameters:
dataSourceURL - The dataSourceURL of the GraphPool.
internalIdentifier - The internal id of this class.
name - The name of this class.
Method Detail

getRelationEndClass

public RelationEndClass getRelationEndClass()
                                     throws DragosException
Returns the relation end class referenced by this ID.

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