Package com._1c.g5.v8.dt.cmi.resource
Class CmiExporter
- java.lang.Object
-
- com._1c.g5.v8.dt.core.provider.BasicBmObjectExporter
-
- com._1c.g5.v8.dt.cmi.resource.CmiExporter
-
- All Implemented Interfaces:
IBmObjectExporter
public final class CmiExporter extends BasicBmObjectExporter
Exports BM CMI model to internal XML storage format.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.core.provider.BasicBmObjectExporter
BasicBmObjectExporter.IMergeStrategy
-
-
Constructor Summary
Constructors Constructor Description CmiExporter(ISymbolicNameService symbolicNameService, org.eclipse.emf.ecore.resource.Resource.Factory resourceFactory, BasicBmObjectExporter.IMergeStrategy mergeStrategy, IDerivedDataManagerProvider derivedDataManagerProvider, IBmModelManager modelManager, IResourceContentExporterExtensionManager resourceContentExporterExtensionManager)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canExport(IBmObject bmObject)
protected void
waitDerivedDataComputation(IBmObject bmObject)
Waits DS calculation before save.-
Methods inherited from class com._1c.g5.v8.dt.core.provider.BasicBmObjectExporter
cloneObject, deleteFile, doExport, export, getFormatter, removeExtraObjects, saveExtraObjects, saveExtraObjects
-
-
-
-
Constructor Detail
-
CmiExporter
@Inject public CmiExporter(ISymbolicNameService symbolicNameService, org.eclipse.emf.ecore.resource.Resource.Factory resourceFactory, BasicBmObjectExporter.IMergeStrategy mergeStrategy, IDerivedDataManagerProvider derivedDataManagerProvider, IBmModelManager modelManager, IResourceContentExporterExtensionManager resourceContentExporterExtensionManager)
Constructor.- Parameters:
symbolicNameService
- actualISymbolicNameService
, can't benull
resourceFactory
- actualResource.Factory
, can't benull
mergeStrategy
- actualBasicBmObjectExporter.IMergeStrategy
, can't benull
derivedDataManagerProvider
- actualIDerivedDataManagerProvider
, can't benull
modelManager
- actualIBmModelManager
, can't benull
-
-
Method Detail
-
canExport
public boolean canExport(IBmObject bmObject)
- Parameters:
bmObject
- the object form Big Model (notnull
)- Returns:
- true if this implementation can handle object serialization, false otherwise
-
waitDerivedDataComputation
protected void waitDerivedDataComputation(IBmObject bmObject)
Waits DS calculation before save. Implementing class should define the logic of waiting by itself.- Overrides:
waitDerivedDataComputation
in classBasicBmObjectExporter
- Parameters:
bmObject
- The context object.
-
-