Interface EMFSaver<E extends org.eclipse.emf.ecore.EObject>

All Superinterfaces:
ErrorsContainer
All Known Implementing Classes:
EMFCSVSaver, EMFJSONSaver

public interface EMFSaver<E extends org.eclipse.emf.ecore.EObject> extends ErrorsContainer
  • Method Details

    • save

      boolean save()
      Saves the data model to a file. Returns true if saving was successful, and false otherwise.
      Returns:
      true if saving was successful, and false otherwise.
    • getSaveObstacles

      List<String> getSaveObstacles()
      Checks that the data to be saved meets the limitations imposed by the file format.
      Returns:
      List of errors (as String-type messages) that prevent saving data to a file. If no errors are found, an empty list is returned.