Interface IBmObjectExporter

    • Method Detail

      • canExport

        boolean canExport​(IBmObject bmObject)
        Parameters:
        bmObject - the object form Big Model (not null)
        Returns:
        true if this implementation can handle object serialization, false otherwise
      • export

        void export​(IBmModel model,
                    IBmObject bmObject,
                    org.eclipse.core.resources.IFile file,
                    Collection<org.eclipse.core.resources.IFile> exportedExtraFiles)
             throws org.eclipse.core.runtime.CoreException
        Exports bmObject
        Parameters:
        model - the model the exported object belongs to (not null)
        bmObject - the object form Big Model (not null)
        file - the output file (not null)
        exportedExtraFiles - the collection where all the exported extra files must be placed (not null).
        Throws:
        org.eclipse.core.runtime.CoreException
      • removeExtraObjects

        default void removeExtraObjects​(IBmObject bmObject,
                                        String oldFqn)
        Removes extra objects prior exporting of a new (or only) external representation of the object.
        Parameters:
        bmObject - the object form Big Model (not null)
        oldFqn - Old object FQN, if any. May be null