Package org.palladiosimulator.pcm.uncertainty.variation.UncertaintyVariationModel.gen.pcm.adapter.resource
Interface ResourceAbstraction
-
- All Known Implementing Classes:
ModelResourceAbstraction
public interface ResourceAbstraction
Resource Abstraction defines the abstraction layer for the access to modeling resources
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EObject
load(URI modelUri)
loads and returns the model corresponding to the modelUrivoid
save(EObject rootElement)
saved the modelvoid
updateRegisteredModels(List<String> knownModelTypes)
updates the registered models with a list of new models
-
-
-
Method Detail
-
load
EObject load(URI modelUri)
loads and returns the model corresponding to the modelUri- Parameters:
modelUri
- the uri of the model- Returns:
- the loaded model
-
save
void save(EObject rootElement) throws IOException
saved the model- Parameters:
rootElement
- the model to save- Throws:
IOException
- if the writing of the model fails
-
-