Class EmfUml2PersistenceManager

java.lang.Object
com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManager

@OpenApiAll public final class EmfUml2PersistenceManager extends com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
Stores save and load options.
  • Method Details

    • getInstance

      public static EmfUml2PersistenceManager getInstance()
      Get singleton instance of the manager.
    • addSaveOptionsProvider

      public void addSaveOptionsProvider(PersistenceOptionsProvider saveOptionsProvider)
      Sets save options provider.
      Overrides:
      addSaveOptionsProvider in class com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
    • removeSaveOptionsProvider

      public void removeSaveOptionsProvider(PersistenceOptionsProvider saveOptionsProvider)
      Remove save options provider.
      Overrides:
      removeSaveOptionsProvider in class com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
    • addLoadOptionsProvider

      public void addLoadOptionsProvider(PersistenceOptionsProvider loadOptionsProvider)
      Sets load options provider.
      Overrides:
      addLoadOptionsProvider in class com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
    • removeLoadOptionsProvider

      public void removeLoadOptionsProvider(PersistenceOptionsProvider loadOptionsProvider)
      Remove load options provider.
      Overrides:
      removeLoadOptionsProvider in class com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
    • addResourceSetInitializer

      public void addResourceSetInitializer(ResourceSetInitializer initializer)
      Register resource set initializer.
      Overrides:
      addResourceSetInitializer in class com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
      Parameters:
      initializer - resource set initializer to add.
    • removeResourceSetInitializer

      public void removeResourceSetInitializer(ResourceSetInitializer initializer)
      Remove resource set initializer.
      Overrides:
      removeResourceSetInitializer in class com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
      Parameters:
      initializer - resource set initializer to remove.