org.designwizard.designrules
Class MethodDependencesRule

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

public class MethodDependencesRule
extends AbstractDependencesRule
implements Rule


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

MethodDependencesRule

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