org.pf.tools.cda.core.dependency.path
Class ClassDependencyPathsData

java.lang.Object
  extended by org.pf.tools.cda.core.dependency.path.ClassDependencyPathsData

public class ClassDependencyPathsData
extends java.lang.Object

Holds the result of a dependency path analysis. That is, an array of dependency paths that lead from a source class to a target class.

Version:
1.0
Author:
M.Duchrow

Constructor Summary
ClassDependencyPathsData(ClassInformation fromClass, ClassInformation toClass, java.util.List pathList)
          Initialize the new instance with default values.
 
Method Summary
 ClassInformation getFromClass()
          Returns the class which depends on the other one
 int getNumberOfPaths()
           
 ClassDependencyPath[] getPaths()
           
 ClassInformation getToClass()
          Returns the class the other class depends on
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassDependencyPathsData

public ClassDependencyPathsData(ClassInformation fromClass,
                                ClassInformation toClass,
                                java.util.List pathList)
Initialize the new instance with default values.

Method Detail

getPaths

public ClassDependencyPath[] getPaths()

getFromClass

public ClassInformation getFromClass()
Returns the class which depends on the other one


getToClass

public ClassInformation getToClass()
Returns the class the other class depends on


getNumberOfPaths

public int getNumberOfPaths()