Class TemplateModel.VtlModelRepository
- java.lang.Object
-
- net.ssehub.easy.basics.modelManagement.ModelRepository<Template>
-
- net.ssehub.easy.instantiation.core.model.templateModel.TemplateModel.VtlModelRepository
-
- All Implemented Interfaces:
IModelManagementRepository<Template>,IModelRepository<Template>
- Enclosing class:
- TemplateModel
private static class TemplateModel.VtlModelRepository extends ModelRepository<Template>
Refined model repository for IVML.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVtlModelRepository(ModelManagement<Template> modelMgmt)Creates a model repository.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplatecreateModel(java.lang.String modelName, java.util.List<Template> imports)Creates an ad-hoc model with given models as imports.-
Methods inherited from class net.ssehub.easy.basics.modelManagement.ModelRepository
clearLocation, getAvailable, getLocationFor, getMatchingModelNames, getModelInfo, getResolvedModelInfo, isOutdated, load, load, loaders, updateForLoader, updateModelInformation
-
-
-
-
Constructor Detail
-
VtlModelRepository
protected VtlModelRepository(ModelManagement<Template> modelMgmt)
Creates a model repository.- Parameters:
modelMgmt- the model management instance to delegate to
-
-
Method Detail
-
createModel
public Template createModel(java.lang.String modelName, java.util.List<Template> imports)
Description copied from interface:IModelRepositoryCreates an ad-hoc model with given models as imports.- Parameters:
modelName- the model nameimports- the imports- Returns:
- the model instance
-
-