public class ImportToNonTransformCtxHelper extends Object
The motivation for this class is to isolate the non-transformation executors of Imperative OCL code and calls to QVT libraries from internals.
Constructor and Description |
---|
ImportToNonTransformCtxHelper()
Constructs the import helper including only QVT Standard Library.
|
ImportToNonTransformCtxHelper(LinkedHashSet<Module> importedModules,
boolean includeStdLib)
Constructs import helper for the given set of modules.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addImportedModule(Module module)
Add another module to the set of modules already imported by this helper.
|
Map<Module,ModuleInstance> |
getModuleInstances()
Gets read-only map of module to its single created instance.
|
Set<Module> |
getModules()
Get set of modules imported by this helper.
|
public ImportToNonTransformCtxHelper(LinkedHashSet<Module> importedModules, boolean includeStdLib)
importedModules
- set of modules to be instantiated by this helperincludeStdLib
- indicates whether QVT Standard Library should be included.public ImportToNonTransformCtxHelper()
public boolean addImportedModule(Module module)
module
- add another module to be imported (instantiated) into
evaluation environment.true
if it was added; false
if it was
already importedpublic Set<Module> getModules()
public Map<Module,ModuleInstance> getModuleInstances()
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.