Interface IDerivedDataComputer

  • All Known Implementing Classes:

    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 Detail

      • compute

        void compute​(IObjectDerivedDataContext objectContext,
                     IBmModel model,
                     org.eclipse.core.runtime.IProgressMonitor progressMonitor)
        Computes the derived data parts of the BM object.
        objectContext - The DD context for the target object. Cannot be nulls
        model - BM model. Cannot be null
        progressMonitor - The progress monitor that allows to cancel the computation. Cannot be null
      • getSupportedSegmentId

        String getSupportedSegmentId()
        Gets the DD segment supported by this instance of the computer.
        The identifier of the supported DD segment. Cannot be null
      • getSupportedTypes

        Collection<org.eclipse.emf.ecore.EClass> getSupportedTypes()
        a collection of the supported BM object types. Cannot be null or empty