| org.andromda.core.translation.Translator
All known Subclasses: org.andromda.translation.ocl.BaseTranslator, org.andromda.core.translation.library.TestTranslator,
Translator | public interface Translator (Code) | | Provides expression translation capabilities. Every expression translator must implement this interface.
author: Chad Brandon |
Method Summary | |
public Expression | translate(String translationLibrary, String expression, Object contextElement) Translates the expression into a translated Expression instance.
Parameters: translationLibrary - the library and translation to lookup perform the translation (i.e. |
translate | public Expression translate(String translationLibrary, String expression, Object contextElement)(Code) | | Translates the expression into a translated Expression instance.
Parameters: 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'). Parameters: contextElement - the optional element in the model to which the expression applies (the context elementof an OCL expression for example). Parameters: expression - the expression (OCL, etc) to translate. Expression the expression containing the translated result. See Also: org.andromda.core.translation.Expression |
|
|