|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.engine.ocl.OclEvaluator
org.eclipse.m2m.atl.engine.ocl.OclQuery
public class OclQuery
The Ocl query management class.
Field Summary |
---|
Fields inherited from class org.eclipse.m2m.atl.engine.ocl.OclEvaluator |
---|
pbs |
Constructor Summary | |
---|---|
OclQuery(java.lang.String query)
Constructor. |
Method Summary | |
---|---|
org.eclipse.emf.ecore.EObject[] |
compile()
Compiles the given query. |
java.lang.Object |
eval()
Returns the current query evaluation result. |
java.lang.Object |
eval(java.util.Map models)
Evaluates the current query and returns the result. |
java.lang.Object |
eval(java.util.Map models,
java.util.Map libraries)
Evaluates the current query and returns the result. |
static java.lang.Object |
eval(java.lang.String query)
Evaluates a given query. |
static java.lang.Object |
eval(java.lang.String query,
java.util.Map models)
Evaluates a given query. |
Methods inherited from class org.eclipse.m2m.atl.engine.ocl.OclEvaluator |
---|
compile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OclQuery(java.lang.String query)
query
- the query to manageMethod Detail |
---|
public static java.lang.Object eval(java.lang.String query) throws java.lang.Exception
query
- the query to evaluate
java.lang.Exception
public static java.lang.Object eval(java.lang.String query, java.util.Map models) throws java.lang.Exception
query
- the query to evaluatemodels
- the models map
java.lang.Exception
public org.eclipse.emf.ecore.EObject[] compile() throws java.lang.Exception
java.lang.Exception
public java.lang.Object eval() throws java.lang.Exception
java.lang.Exception
public java.lang.Object eval(java.util.Map models) throws java.lang.Exception
models
- the models map
java.lang.Exception
public java.lang.Object eval(java.util.Map models, java.util.Map libraries) throws java.lang.Exception
models
- the models maplibraries
- the libraries map
java.lang.Exception
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |