|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuleModel
Rule model describes are rule which can be added to a Form and customised (See #Rule). A rule model acts as a template for a rule. The user interface talks about validations, routers, and handlers. This interface is used for all three types.
| Method Summary | |
|---|---|
Resource |
getConnectionResource()
Returns resource which is used in the handler. |
MessageDefinition[] |
getDedicatedParameters()
Returns the array of message definitions, describing the dedicated parameters. |
java.lang.String |
getDescription()
Returns the description of this RuleModel. |
MessageDefinition[] |
getMessageDefinitions()
Returns the array of message definitions. |
java.lang.String |
getName()
Returns the name of this RuleModel. |
RuleParameterModel[] |
getParameterModels()
Return the array of parameter models. |
java.lang.String |
getPrecondition()
Returns precondition of the rulemodel. |
java.lang.String |
getRegularExpression()
Return the form part validation regular expression. |
RuleClassDefinition |
getRuleClassDefinition()
Returns the RuleClassDefinition which this RuleModel is based on. |
RuleModelType |
getType()
Returns type of the rule: validator, form validator, handler or router. |
| Method Detail |
|---|
RuleClassDefinition getRuleClassDefinition()
java.lang.String getDescription()
java.lang.String getName()
RuleParameterModel[] getParameterModels()
java.lang.String getRegularExpression()
MessageDefinition[] getMessageDefinitions()
MessageDefinition[] getDedicatedParameters()
Resource getConnectionResource()
RuleModelType getType()
java.lang.String getPrecondition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||