|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jeta.open.rules.AbstractRule
public abstract class AbstractRule
This class defines a basic rule for running validations and checks at certain points in the program. It's main use is to check user input for GUI's that are shared among different databases, but require different validations based on the input.
Constructor Summary | |
---|---|
AbstractRule()
|
Method Summary | |
---|---|
RuleResult |
check(Object param1)
Helper method that forwards the call to check(Object[]) |
abstract RuleResult |
check(Object[] params)
Runs the rule. |
RuleResult |
check(Object param1,
Object param2)
Helper method that forwards the call to check(Object[]) |
RuleResult |
check(Object param1,
Object param2,
Object param3)
Helper method that forwards the call to check(Object[]) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractRule()
Method Detail |
---|
public abstract RuleResult check(Object[] params)
JETARule
check
in interface JETARule
params
- an array of parameters needed by this rule. The rule defines
the parameters that it needs.
public RuleResult check(Object param1)
public RuleResult check(Object param1, Object param2)
public RuleResult check(Object param1, Object param2, Object param3)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |