Uses of Interface
net.ssehub.easy.basics.modelManagement.IModel
Packages that use IModel
Package
Description
Model management classes for reuse (realizing imports, loading, interlinking, notifying, etc.).
-
Uses of IModel in net.ssehub.easy.basics.modelManagement
Classes in net.ssehub.easy.basics.modelManagement with type parameters of type IModelModifier and TypeClassDescriptionclassAbstractImportResolverPoolManager<M extends IModel>An abstract pool manager forImportResolverclasses.classAbstractModelInitializer<M extends IModel>Implements an abstract model initializer for the language parsers.classAvailableModels<M extends IModel>Stores information about available models, i.e., the relation between model names and all available model information objects.classDefaultImportResolver<M extends IModel>A model imports resolver.interfaceIDeferredModelLoader<M extends IModel>Allows deferred loading of models, which require that functionality.interfaceIModelListener<M extends IModel>Defines a model listener in order to inform interested parties about changes within a model instance.interfaceIModelLoader<M extends IModel>Defines the interface for a mechanism being able to load models.static interfaceIModelLoader.IModelInfoHolder<M extends IModel>An instance providing limited access to model information.static classIModelLoader.LoadResult<M extends IModel>Represents the result of loading a model.interfaceIModelManagementRepository<M extends IModel>Defines the internal interface of a model management repository.interfaceIModelProcessingListener<M extends IModel>Defines the model processing listener interface, a listener that is informed when a certain model is being processed.interfaceIModelReloadListener<M extends IModel>Defines a model listener in order to inform interested parties about model reloads.interfaceIModelRepository<M extends IModel>Defines the interface of a model repository.classImportResolver<M extends IModel>Basic implementation of a model import resolver.classModelEvents<M extends IModel>Notifications on model contents changes.classModelImport<M extends IModel>Defines model imports and related restrictions.classStores high-level information about an available (possibly unresolved) model.(package private) classModelInfoHolder<M extends IModel>An implementation of the model info holder for internal use.classModelLoaders<M extends IModel>Manages the model loaders.classModelLocations<M extends IModel>Manages the model locations.classModelManagement<M extends IModel>A reusable class performing model imports, model linking etc.classModelRepository<M extends IModel>Implements the model repository interface by delegating toModelManagement.(package private) classResolutionContext<M extends IModel>Defines an internal class representing the context of a model import resolution.classVersionedModelInfos<M extends IModel>Stores model information objects of the same version.Classes in net.ssehub.easy.basics.modelManagement that implement IModelFields in net.ssehub.easy.basics.modelManagement declared as IModelModifier and TypeFieldDescriptionprivate MResolutionContext.modelprivate MModelImport.resolvedprivate MModelInfo.resolvedMethods in net.ssehub.easy.basics.modelManagement with type parameters of type IModelModifier and TypeMethodDescriptionstatic <M extends IModel>
List<ModelImport<M>> ResolutionContext.addConflicts(List<ModelImport<M>> conflicts, List<ModelImport<M>> toAdd) Adds the giventoAddconflicts toconflicts.ModelUpdateUtils.addReplacing(M old, M model) Adds a pair of original and replacing model into a new mapping structure.ModelUpdateUtils.addReplacing(M old, M model, Map<M, M> result) Adds a pair of original and replacing model into a new mapping structure.Utils.arrangeImportedModels(List<M> models) Rearranges allIModels used in imports.private static <M extends IModel>
voidUtils.arrangeImportedModels(M model, Set<M> alreadyVisited, List<M> sequence) Recursive part ofUtils.arrangeImportedModels(List)to arrange first the imports before the importing project without running into an endless loop in case of cycling projects.Utils.augmentByDepending(List<ModelInfo<M>> infos, List<ModelInfo<M>> allInfos, Map<M, ModelInfo<M>> modelInfoMap) Augments the given modelinfosby their depending models, i.e.ModelUpdateUtils.collectImporting(List<M> models, Map<M, M> replacing) Collects all importing models.(package private) static <M extends IModel>
voidUtils.collectModelInfo(Collection<List<VersionedModelInfos<M>>> availableModels, List<ModelInfo<M>> info, Map<M, ModelInfo<M>> modelInfoMap) Fills the given list/map as temporary data structures for improved handling of model information objects and related model.ModelUpdateUtils.determineUpdateSeqence(M model, Map<M, List<M>> using) Determines the update sequence formodelbased on the importing models inusing.Utils.discoverImports(M mainModel) List all importedIModels for the given model including the model itself.(package private) static <M extends IModel>
voidUtils.enumerateImported(M model, Set<M> result, Set<M> deleteFrom) Enumerate all imported (and resolved) models ofmodel(includingmodel).static <M extends IModel>
booleanReturns whetheri1and the explicit given information are equal, i.e., point to the same model.static <M extends IModel>
booleanReturns whetheri1andi2are equal, i.e., point to the same model.static <M extends IModel>
VersionedModelInfos<M> VersionedModelInfos.find(List<VersionedModelInfos<M>> infos, Version version) Retrieves the version model information container with the specified version.private static <M extends IModel>
voidUtils.findImportedModels(M model, List<M> allModels, Set<M> done) Fills the stack of importedIModels recursively.private static <M extends IModel>
intModelUpdateUtils.followImporting(M model, Map<M, List<M>> using, Map<M, Integer> sequence, int start, Set<M> done) Recursively follows the importing models provided byusingfrommodeland enumerates them fromstart.Returns the model information frominfoswith the closest match touri, i.e.VersionedModelInfos.maxVersion(List<ModelInfo<M>> list) Returns the model information object with highest version number fromlist.private static <M extends IModel>
voidUtils.printModelInfo(M model, ModelManagement<M> mgt) Prints the resolution information of the givenmodeltoSystem.out.static <M extends IModel>
voidUtils.printResolution(M model, ModelManagement<M> mgt) Prints the import resolution of the givenmodeltoSystem.out.private static <M extends IModel>
voidUtils.printResolution(M model, ModelManagement<M> mgt, Set<M> done, String indent) Prints the import resolution of the givenmodeltoSystem.out.Searches for the best match according to the IVML search conventions, first down along the given URI, then up along the hierarchy.Searches for the best match within the parent-parent folders ofuriif that folder starts with ".".VersionedModelInfos.searchOnSameFolderLevel(List<ModelInfo<M>> infos, URI uri, List<String> modelPath) Search in folders on the level of the parent folder ofuri.ModelInfo.selectContained(List<ModelInfo<M>> info, URI uri) Selects those information objects out ofinfowhich are contained inuri.ModelInfo.selectOutdated(List<ModelInfo<M>> info, boolean requireResolved, URI uri) Returns the outdated model information objects (due to file change).Methods in net.ssehub.easy.basics.modelManagement with parameters of type IModelModifier and TypeMethodDescriptionCopies this version restriction for the givenmodel.