org.designwizard.designrules
Class ClassDependencesRule

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

public class ClassDependencesRule
extends AbstractDependencesRule


Field Summary
 
Fields inherited from class org.designwizard.designrules.AbstractDependencesRule
allowed, dw, entity, report, violations
 
Constructor Summary
ClassDependencesRule(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
 

Constructor Detail

ClassDependencesRule

public ClassDependencesRule(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