public final class OdiProjectExpressionContext extends java.lang.Object implements IExpressionContext
SnpsExpressionTags relative to an OdiProject.
 
 That context returns expression tags relative to OdiVariables, OdiSequences 
 and OdiUserFunctions that belong to the specified OdiProject instance.
| Constructor and Description | 
|---|
OdiProjectExpressionContext(OdiProject pProject)
Create a new  
OdiProjectExpressionContext. | 
OdiProjectExpressionContext(OdiProject pProject,
                           IOdiVariableFinder pOdiVariableFinder,
                           IOdiSequenceFinder pOdiSequenceFinder,
                           IOdiUserFunctionFinder pOdiUserFunctionFinder)
Create a new  
OdiProjectExpressionContext. | 
| Modifier and Type | Method and Description | 
|---|---|
com.sunopsis.language.parser.SnpsExpressionTag[] | 
getSnpsExpressionTags(com.sunopsis.language.SnpsLanguage pSnpsLanguage)
Obtains the expression tags relative to this context. 
 | 
public OdiProjectExpressionContext(OdiProject pProject)
OdiProjectExpressionContext.
 By using this constructor, the expression context will see the variables/sequences/userfunctions using the getters
 from the project only. Therefore it will not see new objects added from another transaction.pProject - a projectpublic OdiProjectExpressionContext(OdiProject pProject, IOdiVariableFinder pOdiVariableFinder, IOdiSequenceFinder pOdiSequenceFinder, IOdiUserFunctionFinder pOdiUserFunctionFinder)
OdiProjectExpressionContext.
 By using this constructor, the expression context will retrieve the objects through the finders rather than
 getting them from the project. Therefore you will see new objects added from other transactions, but you will not
 see the ones that have been added in this transaction unless flush() on the entity manager is called.pProject - the project for which we want the contextpOdiVariableFinder - to find variables in the projectpOdiSequenceFinder - to find sequences in the projectpOdiUserFunctionFinder - to find user functions in the projectpublic com.sunopsis.language.parser.SnpsExpressionTag[] getSnpsExpressionTags(com.sunopsis.language.SnpsLanguage pSnpsLanguage)
IExpressionContextgetSnpsExpressionTags in interface IExpressionContextpSnpsLanguage - the language that will be used when manipulating the expression tags 
 (i.e. when building the Expression)