i3.dragos.gm.core.schema.id
Class RelationClassID
java.lang.Object
i3.dragos.gm.core.schema.id.GraphEntityClassID
i3.dragos.gm.core.schema.id.RelationClassID
- All Implemented Interfaces:
- java.io.Serializable
public class RelationClassID
- extends GraphEntityClassID
A RelationClassID
identifies a relation 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 |
RelationClassID(DataSourceURL dataSourceURL,
java.io.Serializable internalIdentifier,
java.lang.String name)
Creates a new RelationClassID. |
Method Summary |
RelationClass |
getRelationClass()
Returns the relation 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 |
RelationClassID
public RelationClassID(DataSourceURL dataSourceURL,
java.io.Serializable internalIdentifier,
java.lang.String name)
- Creates a new RelationClassID.
- Parameters:
dataSourceURL
- The dataSourceURL of the GraphPool.internalIdentifier
- The internal id of this class.name
- The name of this class.
getRelationClass
public RelationClass getRelationClass()
throws DragosException
- Returns the relation class referenced by this ID.
- Returns:
- the relation 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.