i3.dragos.gm.core.schema
Interface RelationEndClass

All Superinterfaces:
ExistenceCheckable, GraphEntityClass, MetaAttributable
All Known Implementing Classes:
RelationEndClassProxy

public interface RelationEndClass
extends GraphEntityClass

Schema class for relation ends.

Author:
Boris Boehlen <boehlen@cs.rwth-aachen.de>
See Also:
Core Graph Model, Implementation Issues

Method Summary
 Cardinality getCardinality()
          Returns the cardinality of the relation end for the targeted graph element.
 RelationEndDirection getDirection()
          Returns the direction of the relation end.
 RelationClass getRelationClass()
          Returns the relation class this relation end class belongs to.
 GraphEntityClass getTargetClass()
          Returns the class that is allowed as the target of the relation end.
 
Methods inherited from interface i3.dragos.gm.core.schema.GraphEntityClass
addSubClass, declareAttribute, equals, getAllDeclaredAttributes, getAllSubClasses, getAllSuperClasses, getAttribute, getDataSourceURL, getDeclaredAttributes, getDirectSubClasses, getDirectSuperClasses, getInternalIdentifier, getName, getWrappedGraphEntityClass, hasAttribute, hashCode, isAbstract, isSubClassOf, isSuperClassOf, removeSubClass, undeclareAllAttributes, undeclareAttribute, undeclareAttribute
 
Methods inherited from interface i3.dragos.gm.core.schema.MetaAttributable
getAllMetaAttributes, getMetaAttribute, isMetaAttributeKeyReserved, isMetaAttributeSet, setMetaAttribute, unsetMetaAttribute
 
Methods inherited from interface i3.dragos.gm.core.schema.ExistenceCheckable
checkExistence, checkExistenceOptional
 

Method Detail

getTargetClass

GraphEntityClass getTargetClass()
                                throws DragosException
Returns the class that is allowed as the target of the relation end.

Returns:
the class that is allowed as the target of the relation end.
Throws:
DragosException - if something went wrong.

getCardinality

Cardinality getCardinality()
                           throws DragosException
Returns the cardinality of the relation end for the targeted graph element.

Returns:
the cardinality of the relation end for the targeted graph element.
Throws:
DragosException - if something went wrong.

getDirection

RelationEndDirection getDirection()
                                  throws DragosException
Returns the direction of the relation end.

Returns:
the direction of the relation end.
Throws:
DragosException - if something went wrong.

getRelationClass

RelationClass getRelationClass()
                               throws DragosException
Returns the relation class this relation end class belongs to.

Returns:
the relation class this relation end class belongs to.
Throws:
DragosException - if something went wrong.


Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.