Package com._1c.g5.v8.derived.computer
Interface IDerivedDataComputer
-
- All Known Implementing Classes:
DerivedDataPartBasedComputer
public interface IDerivedDataComputer
A derived data computer is responsible for computation of the derived data scenarios of BM objects.
Clients implement this interface to provide logic of derived data computation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
compute(IObjectDerivedDataContext objectContext, IBmModel model, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Computes the derived data parts of the BM object.String
getSupportedSegmentId()
Gets the DD segment supported by this instance of the computer.Collection<org.eclipse.emf.ecore.EClass>
getSupportedTypes()
-
-
-
Method Detail
-
compute
void compute(IObjectDerivedDataContext objectContext, IBmModel model, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Computes the derived data parts of the BM object.- Parameters:
objectContext
- The DD context for the target object. Cannot benull
smodel
- BM model. Cannot benull
progressMonitor
- The progress monitor that allows to cancel the computation. Cannot benull
-
getSupportedSegmentId
String getSupportedSegmentId()
Gets the DD segment supported by this instance of the computer.- Returns:
- The identifier of the supported DD segment. Cannot be
null
-
getSupportedTypes
Collection<org.eclipse.emf.ecore.EClass> getSupportedTypes()
- Returns:
- a collection of the supported BM object types. Cannot be
null
or empty
-
-