Interface ResourceAbstraction

  • All Known Implementing Classes:
    ModelResourceAbstraction

    public interface ResourceAbstraction
    Resource Abstraction defines the abstraction layer for the access to modeling resources
    • 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
      • updateRegisteredModels

        void updateRegisteredModels​(List<String> knownModelTypes)
        updates the registered models with a list of new models
        Parameters:
        knownModelTypes - the new model that should be registered