org.pf.tools.cda.core.dependency.analyzer.model
Class ClassDependencyInfo

java.lang.Object
  extended by org.pf.tools.cda.core.dependency.analyzer.model.DependencyInfo
      extended by org.pf.tools.cda.core.dependency.analyzer.model.ClassDependencyInfo

public class ClassDependencyInfo
extends DependencyInfo

Holds the result of the analyzation of a class. That is a list of all other classes the class depends on and a hierarchie (or network) of these prerequisite classes.

Version:
1.1
Author:
Manfred Duchrow

Constructor Summary
ClassDependencyInfo(Workset aWorkset, DependencyClassNode analyzedClass, DependencyClassNode[] refNodes)
          Initialize the new instance with default values.
 
Method Summary
 DependencyClassNode getAnalyzedClass()
          Returns the node that represents the analyzed class
 IAnalyzableElement getAnalyzedElement()
          Returns the element has been analyzed to produce this dependency info
 ClassInformation[] getDirectlyReferredClasses()
          Returns only the classes the analyzed class depends on directly.
 java.lang.String getName()
          Returns the name of the analyzed class
 
Methods inherited from class org.pf.tools.cda.core.dependency.analyzer.model.DependencyInfo
equals, getAllReferredClasses, getAllReferredClasses, getAllReferredContainers, getAllReferredContainers, getAllReferredPackages, getAllReferredPackages, getAnalyzingTime, getDirectlyReferredClasses, getDirectlyReferredContainers, getDirectlyReferredContainers, getDirectlyReferredPackages, getDirectlyReferredPackages, getIndirectlyReferredClasses, getIndirectlyReferredClasses, getIndirectlyReferredContainers, getIndirectlyReferredContainers, getIndirectlyReferredPackages, getIndirectlyReferredPackages, getWorkset, hashCode, setAnalyzingTime
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassDependencyInfo

public ClassDependencyInfo(Workset aWorkset,
                           DependencyClassNode analyzedClass,
                           DependencyClassNode[] refNodes)
Initialize the new instance with default values.

Method Detail

getName

public java.lang.String getName()
Returns the name of the analyzed class

Specified by:
getName in class DependencyInfo

getAnalyzedClass

public DependencyClassNode getAnalyzedClass()
Returns the node that represents the analyzed class


getDirectlyReferredClasses

public ClassInformation[] getDirectlyReferredClasses()
Returns only the classes the analyzed class depends on directly.

Specified by:
getDirectlyReferredClasses in class DependencyInfo

getAnalyzedElement

public IAnalyzableElement getAnalyzedElement()
Returns the element has been analyzed to produce this dependency info

Specified by:
getAnalyzedElement in class DependencyInfo