org.pfsw.odem
Interface IDependency<S extends IExplorableElement,T extends IExplorableElement>

All Superinterfaces:
IObjectProperties
All Known Implementing Classes:
AnalyzableElementDependency, ClassContainerDependency, ClassInformationDependency, ClassPackageDependency, SoftwareComponentDependency, TypeDependency

public interface IDependency<S extends IExplorableElement,T extends IExplorableElement>
extends IObjectProperties

Represents a directed dependency between two IExplorableElements. The type S defines the type of the source element wheeras type T specifies the type of the target element

Version:
1.1
Author:
M.Duchrow

Method Summary
 DependencyClassification getDependencyClassification()
          Returns what kind of dependency it is
 S getSourceElement()
          Returns the element that depends on the target element
 T getTargetElement()
          Returns the element the source element depends on
 
Methods inherited from interface org.pfsw.odem.IObjectProperties
getProperty, getPropertyNames, setProperty
 

Method Detail

getSourceElement

S getSourceElement()
Returns the element that depends on the target element


getTargetElement

T getTargetElement()
Returns the element the source element depends on


getDependencyClassification

DependencyClassification getDependencyClassification()
Returns what kind of dependency it is