org.fuin.units4j.dependency
Class DependencyError

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

public final class DependencyError
extends java.lang.Object

Some kind of dependency is not valid.


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

Constructor Detail

DependencyError

public DependencyError(java.lang.String className,
                       java.lang.String referencedPackage,
                       java.lang.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 java.lang.String getClassName()
Returns the name of the class that has an invalid reference to another package.

Returns:
Full qualified class name.

getReferencedPackage

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

Returns:
Full qualified package name.

getComment

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

Returns:
Comment or null

toString

public final java.lang.String toString()

Overrides:
toString in class java.lang.Object


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