Uses of Class
net.ssehub.easy.basics.modelManagement.ModelImport
-
Packages that use ModelImport Package Description de.uni_hildesheim.sse.buildLanguageTranslation de.uni_hildesheim.sse.vil.expressions.translation Translation functionality for expressions.net.ssehub.easy.basics.modelManagement Model management classes for reuse (realizing imports, loading, interlinking, notifying, etc.).net.ssehub.easy.instantiation.core.model.buildlangModel Implements the abstract representation of the build language (parsed, analyzed and already linked, i.e.net.ssehub.easy.instantiation.core.model.common Implements the common language elements.net.ssehub.easy.instantiation.core.model.defaultInstantiators The default instantiators for VIL.net.ssehub.easy.instantiation.core.model.templateModel The template language model.net.ssehub.easy.producer.core.mgmt This package contains classes which are needed for data management, i.e.net.ssehub.easy.varModel.management Provides functionality to manage variability models and their dependencies.net.ssehub.easy.varModel.model Base package for the variability model. -
-
Uses of ModelImport in de.uni_hildesheim.sse.buildLanguageTranslation
Methods in de.uni_hildesheim.sse.buildLanguageTranslation with parameters of type ModelImport Modifier and Type Method Description protected abstract MAbstractModelTranslator. createScript(java.lang.String name, ModelImport<M> parent, Script.ScriptDescriptor<M> descriptor, TypeRegistry registry)Creates a script instance.protected ScriptModelTranslator. createScript(java.lang.String name, ModelImport<Script> parent, Script.ScriptDescriptor<Script> descriptor, TypeRegistry registry)Creates a script instance. -
Uses of ModelImport in de.uni_hildesheim.sse.vil.expressions.translation
Methods in de.uni_hildesheim.sse.vil.expressions.translation that return ModelImport Modifier and Type Method Description protected ModelImport<M>ModelTranslator. getExtensionImport(java.lang.String name, Imports<M> imports, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causingFeature)Returns an extension import (super script, super template). -
Uses of ModelImport in net.ssehub.easy.basics.modelManagement
Fields in net.ssehub.easy.basics.modelManagement declared as ModelImport Modifier and Type Field Description private ModelImport<M>ResolutionContext. toResolveFields in net.ssehub.easy.basics.modelManagement with type parameters of type ModelImport Modifier and Type Field Description private java.util.List<ModelImport<M>>ResolutionContext. conflictsprivate java.util.List<ModelImport<?>>Model. importsprivate java.util.List<ModelImport<M>>ModelInfo. importsMethods in net.ssehub.easy.basics.modelManagement that return ModelImport Modifier and Type Method Description ModelImport<M>ModelImport. copy(java.lang.String modelName)Creates a copy of this import.private ModelImport<M>ResolutionContext. getConflict(java.lang.String modelName, Version version)Returns the first conflict the described model has with the conflict import statements collected in this context.ModelImport<M>ResolutionContext. getConflict(M model)Returns the first conflictmodeland its (recursive) imports have with the conflict import statements collected in this context.private ModelImport<M>ResolutionContext. getConflict(M model, java.util.Set<M> done)Returns the first conflictmodeland its (recursive) imports have with the conflict import statements collected in this context.ModelImport<?>IModel. getImport(int index)Returns the model import specified byindex.ModelImport<?>Model. getImport(int index)Returns the model import specified byindex.ModelImport<M>ModelInfo. getImport(int index)Returns the model import specified byindex.ModelImport<?>IModel. getSuper()Returns the reference to the super model (if it exists).ModelImport<M>ResolutionContext. getToResolve()Returns the actual import for resolution.Methods in net.ssehub.easy.basics.modelManagement that return types with arguments of type ModelImport Modifier and Type Method Description private java.util.List<ModelImport<M>>DefaultImportResolver. add(java.util.List<ModelImport<M>> orig, java.util.List<ModelImport<M>> add)Addsaddtoorig.private java.util.List<ModelImport<M>>DefaultImportResolver. addConflict(java.util.List<ModelImport<M>> conflicts, ModelImport<M> conflict)Adds the givenconflictconflicts toconflicts.static <M extends IModel>
java.util.List<ModelImport<M>>ResolutionContext. addConflicts(java.util.List<ModelImport<M>> conflicts, java.util.List<ModelImport<M>> toAdd)Adds the giventoAddconflicts toconflicts.private java.util.List<ModelImport<M>>DefaultImportResolver. load(ResolutionContext<M> context, java.util.HashSet<M> done, ModelInfo<M> toLoad, java.util.List<IMessage> messages, ModelImport<M> imp, java.util.List<ModelImport<M>> conflicts)Loads the given model information, checks it for conflicts.private java.util.List<ModelImport<M>>DefaultImportResolver. resolve(ResolutionContext<M> context, java.util.HashSet<M> done, java.util.List<IMessage> messages)Resolves the import represented bycontext.private java.util.List<ModelImport<M>>DefaultImportResolver. resolve(ResolutionContext<M> context, java.util.HashSet<M> done, java.util.List<IMessage> messages, java.util.List<VersionedModelInfos<M>> versions, ModelImport<M> imp)Resolves the import / conflict represented byimp.private java.util.List<ModelImport<M>>DefaultImportResolver. resolveImports(ResolutionContext<M> context, java.util.HashSet<M> done, java.util.List<IMessage> messages)Resolves the imports of the model in the givencontextand returns messages on failures.Methods in net.ssehub.easy.basics.modelManagement with parameters of type ModelImport Modifier and Type Method Description private java.util.List<ModelImport<M>>DefaultImportResolver. addConflict(java.util.List<ModelImport<M>> conflicts, ModelImport<M> conflict)Adds the givenconflictconflicts toconflicts.voidResolutionContext. addConflict(ModelImport<M> conflict)Adds a single conflict to the conflict set of this resolution context.booleanModel. addImport(ModelImport<?> pimport)Adds an import to this model.protected voidDefaultImportResolver. cannotResolveImport(ModelImport<M> imp, java.util.List<IMessage> messages, java.net.URI modelURI, IRestrictionEvaluationContext context)Is called ifimpcan finally not be resolved.protected booleanDefaultImportResolver. checkImported(ModelImport<M> imp, M model, java.util.List<IMessage> messages)Checks the imported interfaces for obvious import problems, such as importing models with interfaces as a whole.private voidDefaultImportResolver. handleImport(ResolutionContext<M> context, ModelImport<?> imp, java.util.List<ModelImport<M>> todo)Handles an import.private java.util.List<ModelImport<M>>DefaultImportResolver. load(ResolutionContext<M> context, java.util.HashSet<M> done, ModelInfo<M> toLoad, java.util.List<IMessage> messages, ModelImport<M> imp, java.util.List<ModelImport<M>> conflicts)Loads the given model information, checks it for conflicts.private java.util.List<ModelImport<M>>DefaultImportResolver. resolve(ResolutionContext<M> context, java.util.HashSet<M> done, java.util.List<IMessage> messages, java.util.List<VersionedModelInfos<M>> versions, ModelImport<M> imp)Resolves the import / conflict represented byimp.voidResolutionContext. setToResolve(ModelImport<M> toResolve)Changes the actual import for resolution.private voidDefaultImportResolver. setUnresolved(M model, ModelImport<M> imp, java.util.List<ModelImport<M>> conflicts)Sets the given import inmodeland its imports recursively to unresolved.Method parameters in net.ssehub.easy.basics.modelManagement with type arguments of type ModelImport Modifier and Type Method Description private java.util.List<ModelImport<M>>DefaultImportResolver. add(java.util.List<ModelImport<M>> orig, java.util.List<ModelImport<M>> add)Addsaddtoorig.private java.util.List<ModelImport<M>>DefaultImportResolver. addConflict(java.util.List<ModelImport<M>> conflicts, ModelImport<M> conflict)Adds the givenconflictconflicts toconflicts.static <M extends IModel>
java.util.List<ModelImport<M>>ResolutionContext. addConflicts(java.util.List<ModelImport<M>> conflicts, java.util.List<ModelImport<M>> toAdd)Adds the giventoAddconflicts toconflicts.private voidDefaultImportResolver. handleImport(ResolutionContext<M> context, ModelImport<?> imp, java.util.List<ModelImport<M>> todo)Handles an import.private voidDefaultImportResolver. handleImports(ResolutionContext<M> context, M model, java.util.List<ModelImport<M>> todo)Handles all imports for the given model.private voidDefaultImportResolver. setUnresolved(M model, java.util.List<ModelImport<M>> conflicts)Sets the givenmodeland its import recursively to unresolved.private voidDefaultImportResolver. setUnresolved(M model, ModelImport<M> imp, java.util.List<ModelImport<M>> conflicts)Sets the given import inmodeland its imports recursively to unresolved.Constructor parameters in net.ssehub.easy.basics.modelManagement with type arguments of type ModelImport Constructor Description ModelInfo(java.lang.String name, Version version, IModelLoader<M> loader, java.net.URI location, java.util.List<ModelImport<M>> imp)Creates a model information object. -
Uses of ModelImport in net.ssehub.easy.instantiation.core.model.buildlangModel
Fields in net.ssehub.easy.instantiation.core.model.buildlangModel declared as ModelImport Modifier and Type Field Description private ModelImport<Script>Script. parentFields in net.ssehub.easy.instantiation.core.model.buildlangModel with type parameters of type ModelImport Modifier and Type Field Description private java.util.List<ModelImport<Template>>Imports. vtlRestrictionsMethods in net.ssehub.easy.instantiation.core.model.buildlangModel that return ModelImport Modifier and Type Method Description ModelImport<Script>Script. getSuper()ModelImport<Template>Imports. getVtlRestriction(int index)Returns the specified VTL restriction.ModelImport<Template>Script. getVtlRestriction(int index)Returns the specified VTL restriction.Methods in net.ssehub.easy.instantiation.core.model.buildlangModel with parameters of type ModelImport Modifier and Type Method Description protected voidBuildLangImportResolver. cannotResolveImport(ModelImport<Script> imp, java.util.List<IMessage> messages, java.net.URI modelURI, IRestrictionEvaluationContext context)Constructors in net.ssehub.easy.instantiation.core.model.buildlangModel with parameters of type ModelImport Constructor Description Script(java.lang.String name, ModelImport<Script> parent, Script.ScriptDescriptor<Script> descriptor, TypeRegistry registry)Constructor for a script.Constructor parameters in net.ssehub.easy.instantiation.core.model.buildlangModel with type arguments of type ModelImport Constructor Description Imports(java.util.List<ModelImport<M>> imports, java.util.List<ModelImport<Template>> vtlRestrictions)Creates an imports instance.Imports(Imports<M> imports, java.util.List<ModelImport<Template>> vtlRestrictions)Creates an imports instance. -
Uses of ModelImport in net.ssehub.easy.instantiation.core.model.common
Fields in net.ssehub.easy.instantiation.core.model.common with type parameters of type ModelImport Modifier and Type Field Description private java.util.List<ModelImport<M>>Imports. importsMethods in net.ssehub.easy.instantiation.core.model.common that return ModelImport Modifier and Type Method Description ModelImport<M>AbstractResolvableModel. getImport(int index)ModelImport<?>DummyModel. getImport(int index)ModelImport<M>Imports. getImport(int index)Get the parameter of this template at the specified index.ModelImport<M>Imports. getImport(java.lang.String name)Returns an import matching the givenname.ModelImport<?>DummyModel. getSuper()Methods in net.ssehub.easy.instantiation.core.model.common with parameters of type ModelImport Modifier and Type Method Description voidImports. add(ModelImport<M> imp)Adds an import.voidAbstractResolvableModel. addImport(ModelImport<M> imp)Add a project import to this model.voidAbstractResolvableModel. addRuntimeImport(ModelImport<M> imp)voidDummyModel. addRuntimeImport(ModelImport<M> imp)voidIResolvableModel. addRuntimeImport(ModelImport<M> imp)Adds a runtime model import.protected voidWriterVisitor. printImportLeadin(ModelImport<?> imp)Prints the import keyword(s) and the name.Constructor parameters in net.ssehub.easy.instantiation.core.model.common with type arguments of type ModelImport Constructor Description Imports(java.util.List<ModelImport<M>> imports)Creates an imports instance. -
Uses of ModelImport in net.ssehub.easy.instantiation.core.model.defaultInstantiators
Methods in net.ssehub.easy.instantiation.core.model.defaultInstantiators that return ModelImport Modifier and Type Method Description private static ModelImport<Template>VilTemplateProcessor. getVtlRestrictions(java.lang.String templateName, java.util.Map<java.lang.String,java.lang.Object> other)Returns the applicable VTL restrictions.Methods in net.ssehub.easy.instantiation.core.model.defaultInstantiators with parameters of type ModelImport Modifier and Type Method Description private static TemplateVilTemplateProcessor. obtainTemplate(java.lang.String templateName, ModelImport<Template> restrictions, java.lang.String[] vtlPaths, Script caller)Obtains the template fortemplateNameandversion. -
Uses of ModelImport in net.ssehub.easy.instantiation.core.model.templateModel
Fields in net.ssehub.easy.instantiation.core.model.templateModel declared as ModelImport Modifier and Type Field Description private ModelImport<Template>Template. extensionMethods in net.ssehub.easy.instantiation.core.model.templateModel that return ModelImport Modifier and Type Method Description ModelImport<Template>Template. getSuper()Constructors in net.ssehub.easy.instantiation.core.model.templateModel with parameters of type ModelImport Constructor Description Template(java.lang.String name, ModelImport<Template> extension, TemplateDescriptor descriptor, TypeRegistry registry)Creates a VIL template instance. -
Uses of ModelImport in net.ssehub.easy.producer.core.mgmt
Methods in net.ssehub.easy.producer.core.mgmt with parameters of type ModelImport Modifier and Type Method Description voidPLPInfo. addScriptImport(ModelImport<Script> scriptImport)Adds a Script Import to the build script. -
Uses of ModelImport in net.ssehub.easy.varModel.management
Methods in net.ssehub.easy.varModel.management with parameters of type ModelImport Modifier and Type Method Description protected booleanDefaultImportResolver. checkImported(ModelImport<Project> imp, Project model, java.util.List<IMessage> messages)Checks the imported interfaces for obvious import problems, such as importing projects with interfaces as a whole. -
Uses of ModelImport in net.ssehub.easy.varModel.model
Subclasses of ModelImport in net.ssehub.easy.varModel.model Modifier and Type Class Description classProjectImportDefines an import and his restrictions.Methods in net.ssehub.easy.varModel.model that return ModelImport Modifier and Type Method Description ModelImport<Project>Project. getSuper()Returns the reference to the super model (if it exists).
-