|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.domain.xrefs.expression.contexts.OdiProjectExpressionContext
public final class OdiProjectExpressionContext
Context that has to be used to get SnpsExpressionTag
s relative to an OdiProject
.
That context returns expression tags relative to OdiVariable
s, OdiSequence
s and OdiUserFunction
s that belong to the specified OdiProject
instance.
Constructor Summary | |
---|---|
OdiProjectExpressionContext(OdiProject pProject) Create a new OdiProjectExpressionContext . |
|
OdiProjectExpressionContext(OdiProject pProject, IOdiVariableFinder pOdiVariableFinder, IOdiSequenceFinder pOdiSequenceFinder, IOdiUserFunctionFinder pOdiUserFunctionFinder) Create a new OdiProjectExpressionContext . |
Method Summary | |
---|---|
com.sunopsis.language.parser.SnpsExpressionTag[] |
getSnpsExpressionTags(com.sunopsis.language.SnpsLanguage pSnpsLanguage) Obtains the expression tags relative to this context. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 projectMethod Detail |
---|
public com.sunopsis.language.parser.SnpsExpressionTag[] getSnpsExpressionTags(com.sunopsis.language.SnpsLanguage pSnpsLanguage)
IExpressionContext
getSnpsExpressionTags
in interface IExpressionContext
pSnpsLanguage
- the language that will be used when manipulating the expression tags (i.e. when building the Expression
)
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |