|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IValidationFragmentApplication
A fragment application is used inside a rule to obtain the value of a fragment. It either applies to the current context, or optionally takes a model reference parameter.
| Field Summary |
|---|
| Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode |
|---|
NEWLINE |
| Method Summary | |
|---|---|
IValidationFragmentDeclaration |
getFragment()
Return the fragment to check. |
String |
getFragmentName()
Return the name of the fragment to check. |
int |
getNumParameters()
Return the number of parameters passed to this property. |
IExpression |
getParameter(int index)
Return a parameter. |
| Methods inherited from interface net.sourceforge.nrl.parser.ast.constraints.IConstraint |
|---|
getNRLDataType, setNRLDataType |
| Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode |
|---|
accept, dump, getColumn, getLine, getUserData, setUserData |
| Method Detail |
|---|
String getFragmentName()
getFragment() to
return the actual fragment.
IValidationFragmentDeclaration getFragment()
IExpression getParameter(int index)
getNumParameters()-1, or a runtime exception will occur.
index - the index
int getNumParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||