Package com.inet.problemfinder.rules
Class AbstractRulePropertyFormula
java.lang.Object
com.inet.problemfinder.rules.AbstractRulePropertyFormula
- All Implemented Interfaces:
ProblemFinderRule
Base class for checks looking for errors in property-formulas.
Collects the formulaFields of areas, sections, elements, sort-fields, groups.
Collects the formulaFields of areas, sections, elements, sort-fields, groups.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ProblemFinderWarning
check
(Engine engine, FormulaField formula, Object source) Called to check the given FormulaField.findErrors
(Engine engine) Runs this rule and checks the given Engine for ProblemsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inet.problemfinder.rules.ProblemFinderRule
findErrors, getRuleLabel
-
Constructor Details
-
AbstractRulePropertyFormula
public AbstractRulePropertyFormula()
-
-
Method Details
-
findErrors
Runs this rule and checks the given Engine for Problems- Specified by:
findErrors
in interfaceProblemFinderRule
- Parameters:
engine
- TheEngine
to check.- Returns:
- A list of found problems, can be empty or
null
if the Check is Canceled.
-
check
Called to check the given FormulaField.- Parameters:
engine
- is the Engine to checkformula
- the field to checksource
- the source with holds the property formula, the element, section, area, groupField or sortField- Returns:
- a
ProblemFinderWarning
, or null if no error detected. - Since:
- i-net Clear Reports 12.0
-