public abstract class AbstractRuleField extends java.lang.Object implements ProblemFinderRule
Fields
.getFieldType()
to limit check to certain fields.Constructor and Description |
---|
AbstractRuleField() |
Modifier and Type | Method and Description |
---|---|
protected abstract ProblemFinderWarning |
check(Engine engine,
Field field)
Here the concrete check is made.
|
java.util.List<ProblemFinderWarning> |
findErrors(Engine engine)
Runs this rule and checks the given Engine for Problems
|
int |
getFieldType()
returns the Field type which has to checked, -1 listen to all Field types
|
findErrors, getRuleLabel
public java.util.List<ProblemFinderWarning> findErrors(Engine engine)
findErrors
in interface ProblemFinderRule
engine
- The Engine
to check.null
if the Check is Canceled.protected abstract ProblemFinderWarning check(Engine engine, Field field)
getFieldType()
.engine
- is the Engine to checkfield
- the field to checknull
if there is no warningPromptField
,
FormulaField
,
SummaryField
,
SQLField
public int getFieldType()
ProblemFinder.CHECK_FIELD_FORMULA
,
ProblemFinder.CHECK_FIELD_SQL
,
ProblemFinder.CHECK_FIELD_SUMMARY
Copyright © 1999-2020 by i-net software GmbH