public static class ModelTranslator.Result
extends java.lang.Object
implements net.ssehub.easy.basics.modelManagement.IDeferredModelLoader<net.ssehub.easy.varModel.model.Project>
completeLoading() is not
called, the model instances stored in this instance are not ready for use.| Modifier and Type | Field and Description |
|---|---|
private java.util.List<ResultEntry> |
entries |
private ModelTranslator |
translator |
| Modifier | Constructor and Description |
|---|---|
private |
Result(ModelTranslator translator)
Creates a result instance representing the parse result for multiple projects and enables deferred loading.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
add(ResultEntry entry)
Adds a partially completed xText project and an IVML project in terms of an
entry. |
void |
completeLoading() |
net.ssehub.easy.dslCore.TranslationResult<net.ssehub.easy.varModel.model.Project> |
createTranslationResult()
Creates the translation result.
|
(package private) ModelTranslator |
getTranslator()
Returns the translator instance.
|
private java.util.List<ResultEntry> entries
private ModelTranslator translator
private Result(ModelTranslator translator)
translator - the model translator instanceprivate void add(ResultEntry entry)
entry.entry - the entry to be addedpublic void completeLoading()
completeLoading in interface net.ssehub.easy.basics.modelManagement.IDeferredModelLoader<net.ssehub.easy.varModel.model.Project>public net.ssehub.easy.dslCore.TranslationResult<net.ssehub.easy.varModel.model.Project> createTranslationResult()
ModelTranslator getTranslator()
Copyright © 2009 - 2018 SSE. All Rights Reserved.