D - the Ecore language declaration typeR - the model rule typepublic class RuleInfo<D extends org.eclipse.emf.ecore.EObject,R extends Rule>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private RuleDescriptor |
descriptor |
private R |
rule |
private D |
ruleDecl |
| Constructor and Description |
|---|
RuleInfo(D ruleDecl,
R rule,
RuleDescriptor descriptor)
Creates an information object.
|
| Modifier and Type | Method and Description |
|---|---|
R |
getRule()
Returns the related VIL rule model instance.
|
D |
getRuleDeclaration()
Returns the VTL rule declaration from ECore.
|
void |
registerVariables(Resolver resolver)
Registers the LHS/RHS variables in
resolver if applicable. |
private D extends org.eclipse.emf.ecore.EObject ruleDecl
private RuleDescriptor descriptor
public RuleInfo(D ruleDecl, R rule, RuleDescriptor descriptor)
ruleDecl - the VTL rule declaration from ECorerule - the related rule model instancedescriptor - the descriptor used to build up rule for registering the variables lateronpublic D getRuleDeclaration()
public R getRule()
public void registerVariables(Resolver resolver) throws VilException
resolver if applicable.resolver - the resolver instanceVilException - in case that resolving one of the expressions failsRuleDescriptor.registerVariables(Resolver)Copyright © 2009 - 2018 SSE. All Rights Reserved.