org.fuin.units4j.dependency
Class DependencyError

java.lang.Object
  extended by org.fuin.units4j.dependency.DependencyError

public final class DependencyError
extends Object

Some kind of dependency is not valid.


Constructor Summary
DependencyError(String className, String referencedPackage, String comment)
          Constructor with all data.
 
Method Summary
 String getClassName()
          Returns the name of the class that has an invalid reference to another package.
 String getComment()
          Returns the comment describing why the dependency is not OK.
 String getReferencedPackage()
          Returns the package that is referenced by the class.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DependencyError

public DependencyError(String className,
                       String referencedPackage,
                       String comment)
Constructor with all data.

Parameters:
className - Name of the class that has an invalid reference to another package.
referencedPackage - The package referenced by the class.
comment - Comment describing why the dependency is not OK or null.
Method Detail

getClassName

public final String getClassName()
Returns the name of the class that has an invalid reference to another package.

Returns:
Full qualified class name.

getReferencedPackage

public final String getReferencedPackage()
Returns the package that is referenced by the class.

Returns:
Full qualified package name.

getComment

public final String getComment()
Returns the comment describing why the dependency is not OK.

Returns:
Comment or null

toString

public final String toString()

Overrides:
toString in class Object


Copyright © 2012 Future Invent Informationsmanagement GmbH. All Rights Reserved.