org.designwizard.designrules
Class PackageDependences

java.lang.Object
  extended by org.designwizard.designrules.AbstractDependencesRule
      extended by org.designwizard.designrules.PackageDependences
All Implemented Interfaces:
DependencesRuleIF, Rule

public class PackageDependences
extends AbstractDependencesRule
implements Rule


Field Summary
 
Fields inherited from class org.designwizard.designrules.AbstractDependencesRule
allowed, dw, entity, report, violations
 
Constructor Summary
PackageDependences(java.lang.String entity, DesignWizard dw)
           
 
Method Summary
 boolean checkRule()
          This method checks whether the code are in conformance with the rule or not.
 
Methods inherited from class org.designwizard.designrules.AbstractDependencesRule
addAllowedEntities, addDeniedEntities, getReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.designwizard.designrules.Rule
getReport
 

Constructor Detail

PackageDependences

public PackageDependences(java.lang.String entity,
                          DesignWizard dw)
Method Detail

checkRule

public boolean checkRule()
                  throws InexistentEntityException
Description copied from interface: Rule
This method checks whether the code are in conformance with the rule or not.

Specified by:
checkRule in interface Rule
Specified by:
checkRule in class AbstractDependencesRule
Returns:
true if the code is in conformance with the rule; false otherwise.
Throws:
InexistentEntityException