M - the specific type of modelpublic interface IModelRepository<M extends IModel>
| Modifier and Type | Method and Description |
|---|---|
java.util.List<VersionedModelInfos<M>> |
getAvailable(java.lang.String name)
Returns models available for a given model
name. |
ModelLocations.Location |
getLocationFor(java.net.URI uri)
Returns the location for
uri. |
ModelInfo<M> |
getModelInfo(java.lang.String name,
Version version,
java.net.URI uri)
Returns a known model information object via its URI.
|
boolean |
isOutdated(ModelInfo<M> info)
Returns whether a model information is outdated.
|
M |
load(ModelInfo<M> info,
ImportResolver<M> resolver,
java.util.List<IMessage> messages)
Loads the model related to
info with the given import resolver. |
M |
load(ModelInfo<M> info,
java.util.List<IMessage> messages)
Loads the model related to
info with a new default import resolver. |
java.util.List<VersionedModelInfos<M>> getAvailable(java.lang.String name)
name.name - the name to search forboolean isOutdated(ModelInfo<M> info)
info - the object to be testedtrue if it is outdated, false elseM load(ModelInfo<M> info, java.util.List<IMessage> messages)
info with a new default import resolver.info - the model info to load the model formessages - the messages collected so far (modified as a side effect)M load(ModelInfo<M> info, ImportResolver<M> resolver, java.util.List<IMessage> messages)
info with the given import resolver.info - the model info to load the model forresolver - the import resolver to use (null for a new default resolver)messages - the messages collected so far (modified as a side effect)ModelInfo<M> getModelInfo(java.lang.String name, Version version, java.net.URI uri)
name - the name of the model to search forversion - the version of the model to search foruri - the URI to search forModelLocations.Location getLocationFor(java.net.URI uri)
uri.uri - the URI to search forCopyright © 2009 - 2018 SSE. All Rights Reserved.