| |
|
| java.lang.Object com.jeta.open.rules.RuleResult
RuleResult | public class RuleResult (Code) | | Defines a result from a JETARule
author: Jeff Tassin |
FAIL_MESSAGE_ID | final public static int FAIL_MESSAGE_ID(Code) | | |
FAIL_NO_MESSAGE_ID | final public static int FAIL_NO_MESSAGE_ID(Code) | | fail code to indicate the the validator will handle showing the error
message
|
SUCCESS | final public static RuleResult SUCCESS(Code) | | pre-defined rule result object
|
SUCCESS_ID | final public static int SUCCESS_ID(Code) | | rule result codes
|
RuleResult | public RuleResult(int code)(Code) | | ctor
|
RuleResult | public RuleResult(String msg)(Code) | | ctor Construct a ResultResult with a FAIL_MESSAGE code
|
getCode | public int getCode()(Code) | | the result code |
getMessage | public String getMessage()(Code) | | If this result is a FAIL_MESSAGE, then get the message
|
|
|
|