public class HashCodeAndEqualsNotUseIdentifierPropertyRule extends AbstractDesignRule implements org.designwizard.designrules.Rule
| Constructor and Description |
|---|
HashCodeAndEqualsNotUseIdentifierPropertyRule(org.designwizard.api.DesignWizard dw)
Initiates rule properties for software design in instance of the
DesignWizard. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkRule()
Check if the equals(java.lang.Object) method and hashCode() method access
the identifier field.
|
addReport, addResultFalse, addResultTrue, checkClassNodes, getClassNodes, getDesignWizard, getEqualsMethod, getHashCodeMethod, getMethod, getName, getObjectClass, getReport, getResultsFalse, getResultsTrue, hasGetMethod, hasSetMethod, isCollection, isEmptyReport, isList, isSet, setClassNode, setClassNodespublic HashCodeAndEqualsNotUseIdentifierPropertyRule(org.designwizard.api.DesignWizard dw)
DesignWizard.dw - The instance of the DesignWizard with the software design.public final boolean checkRule()
checkRule in interface org.designwizard.designrules.RulecheckRule in class AbstractDesignRuleRule.checkRule()Copyright © 2016. All rights reserved.