|
||||||||||
| 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.OclHelper
public class OclHelper
An helper for the OCL evaluator.
| Field Summary | |
|---|---|
protected java.lang.String |
helper
|
protected java.util.List |
parameters
|
| Fields inherited from class org.eclipse.m2m.atl.engine.ocl.OclEvaluator |
|---|
pbs |
| Constructor Summary | |
|---|---|
OclHelper(java.lang.String helper,
java.util.List parameters)
Constructor. |
|
| Method Summary | |
|---|---|
ASM |
compile()
Compiles the current helper. |
java.lang.Object |
eval(java.util.List arguments)
Evaluates the helper with the given arguments. |
java.lang.Object |
eval(java.util.List arguments,
java.util.Map models)
Evaluates the helper with the given arguments and a models map. |
static java.lang.Object |
eval(java.lang.String helper,
java.util.Map arguments)
Evaluates the helper with the given arguments. |
| 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 |
| Field Detail |
|---|
protected java.lang.String helper
protected java.util.List parameters
| Constructor Detail |
|---|
public OclHelper(java.lang.String helper,
java.util.List parameters)
helper - the helper codeparameters - the helper parameters| Method Detail |
|---|
public static java.lang.Object eval(java.lang.String helper,
java.util.Map arguments)
throws java.lang.Exception
helper - the helperarguments - the values map
java.lang.Exception
public ASM compile()
throws java.io.IOException
java.io.IOException
public java.lang.Object eval(java.util.List arguments)
throws java.lang.Exception
arguments - the given arguments
java.lang.Exception
public java.lang.Object eval(java.util.List arguments,
java.util.Map models)
throws java.lang.Exception
arguments - the given argumentsmodels - the models 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 | |||||||||