public class ProvideIdentifierPropertyRule extends AbstractDesignRule implements org.designwizard.designrules.Rule
| Constructor and Description |
|---|
ProvideIdentifierPropertyRule(org.designwizard.api.DesignWizard dw)
Builds the rule for the designwizard instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkRule()
Checks if the set
AbstractDesignRule.getClassNodes() attends the rule. |
addReport, addResultFalse, addResultTrue, checkClassNodes, getClassNodes, getDesignWizard, getEqualsMethod, getHashCodeMethod, getMethod, getName, getObjectClass, getReport, getResultsFalse, getResultsTrue, hasGetMethod, hasSetMethod, isCollection, isEmptyReport, isList, isSet, setClassNode, setClassNodespublic ProvideIdentifierPropertyRule(org.designwizard.api.DesignWizard dw)
dw - A DesignWizard instance.public final boolean checkRule()
AbstractDesignRule.getClassNodes() attends the rule.
Checks if the class contains a identifier field in the declared fields.
Doesn't check the inherited fields from the super class.checkRule in interface org.designwizard.designrules.RulecheckRule in class AbstractDesignRuleAbstractDesignRule.checkRule()Copyright © 2016. All rights reserved.