org.designwizard.designrules
Class HashCodeAndEqualsRule

java.lang.Object
  extended by org.designwizard.designrules.HashCodeAndEqualsRule
All Implemented Interfaces:
Rule

public class HashCodeAndEqualsRule
extends java.lang.Object
implements Rule


Constructor Summary
HashCodeAndEqualsRule(java.lang.String entity, DesignWizard dw)
           
 
Method Summary
 boolean checkRule()
          This method checks whether the code are in conformance with the rule or not.
 java.lang.String getReport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashCodeAndEqualsRule

public HashCodeAndEqualsRule(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
Returns:
true if the code is in conformance with the rule; false otherwise.
Throws:
InexistentEntityException

getReport

public java.lang.String getReport()
Specified by:
getReport in interface Rule