Uses of Class
net.ssehub.easy.basics.modelManagement.ModelInfo
Packages that use ModelInfo
Package
Description
Model management classes for reuse (realizing imports, loading, interlinking, notifying, etc.).
-
Uses of ModelInfo in net.ssehub.easy.basics.modelManagement
Fields in net.ssehub.easy.basics.modelManagement declared as ModelInfoFields in net.ssehub.easy.basics.modelManagement with type parameters of type ModelInfoModifier and TypeFieldDescriptionVersionedModelInfos.infosResolutionContext.inProgressModelInfoHolder.knownURIModelManagement.loadingDefaultImportResolver.localModelOverrideModelEvents.modelProcessingListenersModelManagement.outdatedModelInfoHolder.resultAvailableModels.tmpInfoMethods in net.ssehub.easy.basics.modelManagement that return ModelInfoModifier and TypeMethodDescriptionAvailableModels.createTempInfo(M model, URI location) Creates a temporary resolved model information without model loader.DefaultImportResolver.determineMatching(ResolutionContext<M> context, List<VersionedModelInfos<M>> versions, IVersionRestriction restriction) Determine the model matching the import restrictions.Finds a model information object based on a give URI.VersionedModelInfos.get(int index) Returns the specified model information object.Returns the model information objects withurias location.Returns the model information objects withmodelas resolved model.VersionedModelInfos.getByClosestUri(URI uri, List<String> modelPath) Returns the model information with the closest match touri, i.e.Returns the model information frominfoswith the closest match touri, i.e.Returns the (visible) information object aturi.AvailableModels.getModelInfo(String name, String version, URI uri) Returns a known model information object via its URI.AvailableModels.getModelInfo(String name, Version version, URI uri) Returns a known model information object via its URI.AvailableModels.getModelInfo(M model) Returns the model information object for the specified model.AvailableModels.getModelInfo(ModelInfo<M> info) Returns the matching available model information instance.IModelRepository.getModelInfo(String name, Version version, URI uri) Returns a known model information object via its URI.ModelRepository.getModelInfo(String name, Version version, URI uri) AvailableModels.getResolvedModelInfo(M model) Returns the model information object for the given model by considering resolved models.AvailableModels.getResolvedModelInfo(M model, URI uri) Returns the model information object formodelwhile consideringurias location ofmodel.IModelManagementRepository.getResolvedModelInfo(M model) Returns the model information object for the given model by considering resolved models.ModelRepository.getResolvedModelInfo(M model) Returns the model information object for the given model by considering resolved models.ModelInfoHolder.getResult(int index) Returns the the specified result.VersionedModelInfos.maxVersion(List<ModelInfo<M>> list) Returns the model information object with highest version number fromlist.VersionedModelInfos.remove(int index) Removes the specified model information object.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.Methods in net.ssehub.easy.basics.modelManagement that return types with arguments of type ModelInfoModifier and TypeMethodDescriptionUtils.augmentByDepending(List<ModelInfo<M>> infos, List<ModelInfo<M>> allInfos, Map<M, ModelInfo<M>> modelInfoMap) Augments the given modelinfosby their depending models, i.e.VersionedModelInfos.getByEqualUri(URI uri) Returns the model information with the exact match touri.AvailableModels.getModelInfo(String name) Returns all known model information objects for the specified model.AvailableModels.getModelInfo(String name, String version) Returns the model information object for the specified model.AvailableModels.getModelInfo(String name, Version version) Returns the model information objects for the specified model.AvailableModels.getModelInfos(M model) Returns the model information objects for the specified model.AvailableModels.getModelInfoWith(URI uri) Returns the available model information objects which are located aturi.AvailableModels.getVisibleModelInfo(String name, URI uri) Returns the available model information objects which are available for and visible from the given URI, i.e.AvailableModels.getVisibleModelInfo(String name, Version version, URI uri) Returns the available model information objects which are available for and visible from the given URI, i.e.AvailableModels.getVisibleModelInfo(URI uri) Returns the available model information objects which are available for and visible from the given URI, i.e.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).Adds all model information objects to the givenlist.Methods in net.ssehub.easy.basics.modelManagement with parameters of type ModelInfoModifier and TypeMethodDescriptionvoidAdds a model information object.voidModelEvents.addProcessingListener(ModelInfo<M> info, IModelProcessingListener<M> listener) Adds a model processing listener for the specified model information object.voidAdds a model information as result of an operation.voidvoidModelManagement.clearModel(ModelInfo<M> info) Clears @link #clinfo(and the related model) from the caches.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.AvailableModels.getModelInfo(ModelInfo<M> info) Returns the matching available model information instance.booleanResolutionContext.isConflict(ModelInfo<M> info) Returns whetherinfohas a conflict with the conflict import statements collected in this context.booleanResolutionContext.isInProjectFolder(ModelInfo<M> info) Returns whetherinfois in a project folder relevant for this resolution context.booleanReturns whether loading the model forinfois currently happening.booleanReturns whether loadinginfowould cause in infinite loop in type resolution as it is currently being processed in the same resolution context.booleanIModelRepository.isOutdated(ModelInfo<M> info) Returns whether a model information is outdated.booleanModelManagement.isOutdated(ModelInfo<M> info) Returns whether a model information is outdated (will force a reload uponModelManagement.load(ModelInfo)).booleanModelRepository.isOutdated(ModelInfo<M> info) booleanAvailableModels.isTempInfo(ModelInfo<M> info) Returns whetherinfois a temporary model.private List<ModelImport<M>> DefaultImportResolver.load(ResolutionContext<M> context, HashSet<M> done, ModelInfo<M> toLoad, List<IMessage> messages, ModelImport<M> imp, List<ModelImport<M>> conflicts) Loads the given model information, checks it for conflicts.IModelLoader.load(ModelInfo<M> info, ImportResolver<M> resolver) Loads the related model.Loads the model related toinfowith a new default import resolver.Loads the model related toinfowith the given import resolver.Loads the specified model and resolves its imports.private MLoads the specified model and resolves its imports by callingModelManagement.resolveImports(M, java.net.URI, java.util.List<net.ssehub.easy.basics.modelManagement.ModelInfo<M>>).(package private) MLoads the model related toinfowith a new default import resolver.(package private) MLoads the model related toinfo.private voidModelManagement.notifyLoading(ModelInfo<M> info, boolean started) Handles the notification about model loading.voidModelEvents.notifyModelProcessing(ModelInfo<M> info, boolean start, IModelProcessingListener.Type type) Notifies about model processing events.protected voidImportResolver.notifyProcessing(ModelInfo<M> info, IModelProcessingListener.Type type, boolean started) Notifies the processing listener if defined.voidIModelProcessingListener.notifyProcessingEnded(ModelInfo<M> info, IModelProcessingListener.Type type) Is called when processing ended (or shortly after).voidIModelProcessingListener.notifyProcessingStarted(ModelInfo<M> info, IModelProcessingListener.Type type) Is called when processing started (or shortly before).protected voidModelManagement.postLoadModel(ModelInfo<M> info) Additional code to be executed after a model was loaded.voidAvailableModels.releaseTempInfo(ModelInfo<M> info) Releases a temporary model information object.booleanRemoves the specified model information object.(package private) voidAvailableModels.removeAvailable(ModelInfo<M> info) Removes a model information object for a given information object.booleanModelEvents.removeProcessingListener(ModelInfo<M> info, IModelProcessingListener<M> listener) Removes a model processing listener for the specified model information object.voidModelManagement.setOutdated(ModelInfo<M> info) Returns whether a model information is outdated.private MModelManagement.setResolved(ModelInfo<M> info, M model) Defines the resolution forinfoand calls the listeners.(package private) booleanAvailableModels.updateAvailableModel(ModelInfo<M> info) Updates the list of available models.Method parameters in net.ssehub.easy.basics.modelManagement with type arguments of type ModelInfoModifier and TypeMethodDescriptionUtils.augmentByDepending(List<ModelInfo<M>> infos, List<ModelInfo<M>> allInfos, Map<M, ModelInfo<M>> modelInfoMap) Augments the given modelinfosby their depending models, i.e.Utils.augmentByDepending(List<ModelInfo<M>> infos, List<ModelInfo<M>> allInfos, Map<M, ModelInfo<M>> modelInfoMap) Augments the given modelinfosby their depending models, i.e.(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.(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.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.DefaultImportResolver.resolveImports(M model, URI uri, List<ModelInfo<M>> inProgress, IModelRepository<M> repository, IRestrictionEvaluationContext evaluationContext) ImportResolver.resolveImports(M model, URI uri, List<ModelInfo<M>> inProgress, IModelRepository<M> repository, IRestrictionEvaluationContext evaluationContext) Resolves the imports of the givenmodeland returns messages on failures.Resolves the imports of the givenmodelwith transitive loading and returns messages on failures.ModelManagement.resolveImports(M model, URI uri, List<ModelInfo<M>> inProgress, boolean transitiveLoading) Resolves the imports of the givenmodeland returns messages on failures.ModelManagement.resolveImports(M model, URI uri, List<ModelInfo<M>> inProgress, ImportResolver<M> resolver) Resolves the imports of the givenmodelwith transitive loading and returns messages on failures.ModelManagement.resolveImports(M model, URI uri, List<ModelInfo<M>> inProgress, ImportResolver<M> resolver, boolean transitiveLoading) Resolves the imports of the givenmodeland returns messages on failures.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).Adds all model information objects to the givenlist.Constructor parameters in net.ssehub.easy.basics.modelManagement with type arguments of type ModelInfoModifierConstructorDescriptionResolutionContext(M model, URI modelUri, List<ModelInfo<M>> inProgress, IModelRepository<M> repository, IRestrictionEvaluationContext evaluationContext) Creates a resolution context.