i3.dragos.gm.core.schema
Interface EdgeClass

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

public interface EdgeClass
extends GraphEntityClass

Schema class for edges.

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

Method Summary
 Cardinality getSourceCardinality()
          Returns the cardinality for the source of the edge.
 GraphEntityClass getSourceClass()
          Returns the graph element class for the source of the edge.
 Cardinality getTargetCardinality()
          Returns the cardinality for the target of the edge.
 GraphEntityClass getTargetClass()
          Returns the graph element class for the target of the edge.
 boolean isDirected()
          Returns true if the edge is directed or false if the direction of the edge does not matter.
 
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

getSourceClass

GraphEntityClass getSourceClass()
                                throws DragosException
Returns the graph element class for the source of the edge.

Returns:
the graph element class for the source of the edge.
Throws:
DragosException - if something goes wrong.

getTargetClass

GraphEntityClass getTargetClass()
                                throws DragosException
Returns the graph element class for the target of the edge.

Returns:
the graph element class for the target of the edge.
Throws:
DragosException - if something goes wrong.

getSourceCardinality

Cardinality getSourceCardinality()
                                 throws DragosException
Returns the cardinality for the source of the edge.

Returns:
the cardinality for the source of the edge.
Throws:
DragosException - if something goes wrong.

getTargetCardinality

Cardinality getTargetCardinality()
                                 throws DragosException
Returns the cardinality for the target of the edge.

Returns:
the cardinality for the target of the edge.
Throws:
DragosException - if something goes wrong.

isDirected

boolean isDirected()
                   throws DragosException
Returns true if the edge is directed or false if the direction of the edge does not matter.

Returns:
true if the edge is directed or false if the direction of the edge does not matter.
Throws:
DragosException - if something goes wrong.


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