Class VarModel.IvmlModelRepository
- java.lang.Object
-
- net.ssehub.easy.basics.modelManagement.ModelRepository<Project>
-
- net.ssehub.easy.varModel.management.VarModel.IvmlModelRepository
-
- All Implemented Interfaces:
IModelManagementRepository<Project>,IModelRepository<Project>
- Enclosing class:
- VarModel
private static class VarModel.IvmlModelRepository extends ModelRepository<Project>
Refined model repository for IVML.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIvmlModelRepository(ModelManagement<Project> modelMgmt)Creates a model repository.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectcreateModel(java.lang.String modelName, java.util.List<Project> 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
-
IvmlModelRepository
protected IvmlModelRepository(ModelManagement<Project> modelMgmt)
Creates a model repository.- Parameters:
modelMgmt- the model management instance to delegate to
-
-
Method Detail
-
createModel
public Project createModel(java.lang.String modelName, java.util.List<Project> 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
-
-