org.pf.tools.cda.base.model
Interface IAnalyzableElement

All Superinterfaces:
IExplorableElement, IExplorableElementVisiting, IExplorationModelObject, IObjectProperties
All Known Implementing Classes:
AAnalyzableElement, ClassContainer, ClassInformation, ClassPackage, GenericClassContainer, NotFoundClassContainer, SoftwareComponent, Workset

public interface IAnalyzableElement
extends IExplorableElement

An interface that identifies all classes that can be analyzed by the DependencyAnalyzer

Version:
1.3
Author:
Manfred Duchrow

Field Summary
static IAnalyzableElement[] EMPTY_BASE_ARRAY
           
 
Method Summary
 boolean canBeAnalyzedForDependencies()
          Returns true if this element can (currently) be analyzed for its dependencies to other elements.
 ClassInformation[] getAllContainedClasses()
          Returns all classes that are contained in this element or any of its structural sub-elements.
 AnalyzableElementType getAnalyzableElementType()
          Returns the type of the analyzable element.
 Workset getWorkset()
          Returns the workset this element is included in
 boolean refersTo(IAnalyzableElement element)
          Returns true if any of the directly referred classes is identical to the given one.
 
Methods inherited from interface org.pfsw.odem.IExplorationModelObject
getContext, getName
 
Methods inherited from interface org.pfsw.odem.IObjectProperties
getProperty, getPropertyNames, setProperty
 
Methods inherited from interface org.pfsw.odem.IExplorableElementVisiting
accept, acceptTypes
 

Field Detail

EMPTY_BASE_ARRAY

static final IAnalyzableElement[] EMPTY_BASE_ARRAY
Method Detail

getWorkset

Workset getWorkset()
Returns the workset this element is included in


refersTo

boolean refersTo(IAnalyzableElement element)
Returns true if any of the directly referred classes is identical to the given one.

Parameters:
element - The other element to check if this analyzable element directly refers to it

getAllContainedClasses

ClassInformation[] getAllContainedClasses()
Returns all classes that are contained in this element or any of its structural sub-elements. If no classes are contained, an empty array will be returned.


canBeAnalyzedForDependencies

boolean canBeAnalyzedForDependencies()
Returns true if this element can (currently) be analyzed for its dependencies to other elements.


getAnalyzableElementType

AnalyzableElementType getAnalyzableElementType()
Returns the type of the analyzable element.