public interface Translator
Modifier and Type | Method and Description |
---|---|
Expression |
translate(String translationLibrary,
String expression,
Object contextElement)
Translates the expression into a translated Expression instance.
|
Expression translate(String translationLibrary, String expression, Object contextElement)
translationLibrary
- the library and translation to lookup perform the translation (i.e. sql.Oracle9i:
library to use would be "sql" and translation from the sql library would be
'Oracle9i').contextElement
- the optional element in the model to which the expression applies (the context element
of an OCL expression for example).expression
- the expression (OCL, etc) to translate.Expression
Copyright © 2003–2014 AndroMDA.org. All rights reserved.