Class BinaryBmExporter

    • Constructor Detail

      • BinaryBmExporter

        public BinaryBmExporter()
    • Method Detail

      • canExport

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

        public 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
        Description copied from interface: IBmObjectExporter
        Exports bmObject
        Specified by:
        export in interface IBmObjectExporter
        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

        public void removeExtraObjects​(IBmObject bmObject,
                                       String oldFqn)
        Description copied from interface: IBmObjectExporter
        Removes extra objects prior exporting of a new (or only) external representation of the object.
        Specified by:
        removeExtraObjects in interface IBmObjectExporter
        Parameters:
        bmObject - the object form Big Model (not null)
        oldFqn - Old object FQN, if any. May be null