i3.dragos.gm.core.id
Class RelationID
java.lang.Object
i3.dragos.gm.core.id.GraphEntityID
i3.dragos.gm.core.id.RelationID
- All Implemented Interfaces:
- java.io.Serializable
public class RelationID
- extends GraphEntityID
A RelationID
is used to uniquely identify a relation.
- 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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RelationID
public RelationID(DataSourceURL dataSourceURL,
java.io.Serializable internalIdentifier,
RelationClassID type)
- Constructs a new ID representing a relation.
- Parameters:
dataSourceURL
- The DataSourceURL where this relation is stored.internalIdentifier
- ID of the relation.type
- Relation's type.
getRelation
public Relation getRelation()
throws DragosException
- Returns the relation referenced by this ID.
- Returns:
- The relation referenced by this ID.
- Throws:
DragosException
- in case of internal errors.
getRelationClassID
public RelationClassID getRelationClassID()
- Returns the relation's type.
- Returns:
- the relation's type.
Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.