org.fuin.units4j.dependency
Class NotDependsOn

java.lang.Object
  extended by org.fuin.units4j.dependency.Dependency
      extended by org.fuin.units4j.dependency.NotDependsOn
All Implemented Interfaces:
org.fuin.utils4j.ToDebugStringCapable

public final class NotDependsOn
extends Dependency

Forbidden dependency.


Constructor Summary
NotDependsOn(java.lang.String packageName)
          Constructor with name.
NotDependsOn(java.lang.String packageName, boolean includeSubPackages, java.lang.String comment)
          Constructor with all possible arguments.
NotDependsOn(java.lang.String packageName, java.lang.String comment)
          Constructor with package name and comment.
 
Method Summary
 java.lang.String getComment()
          Returns the comment.
 java.lang.String toDebugString()
          
 java.lang.String toString()
          
 
Methods inherited from class org.fuin.units4j.dependency.Dependency
equals, getPackageName, hashCode, isIncludeSubPackages
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotDependsOn

public NotDependsOn(java.lang.String packageName)
Constructor with name. Sub package dependencies are included.

Parameters:
packageName - Full qualified name of the package - Cannot be null.

NotDependsOn

public NotDependsOn(java.lang.String packageName,
                    java.lang.String comment)
Constructor with package name and comment. Sub package dependencies are included.

Parameters:
packageName - Full qualified name of the package - Cannot be null.
comment - Comment why the dependency is OK or not - May be null.

NotDependsOn

public NotDependsOn(java.lang.String packageName,
                    boolean includeSubPackages,
                    java.lang.String comment)
Constructor with all possible arguments.

Parameters:
packageName - Full qualified name of the package - Cannot be null.
includeSubPackages - If sub package dependencies are included true else false.
comment - Comment why the dependency is OK or not - May be null.
Method Detail

getComment

public final java.lang.String getComment()
Returns the comment.

Returns:
Comment or null.

toString

public final java.lang.String toString()

Overrides:
toString in class java.lang.Object

toDebugString

public final java.lang.String toDebugString()



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