Class PartBasedContextFactory

    • Constructor Detail

      • PartBasedContextFactory

        public PartBasedContextFactory()
    • Method Detail

      • createContext

        public IObjectDerivedDataContext createContext​(String segmentId,
                                                       long bmObjectId,
                                                       org.eclipse.emf.ecore.EClass objectEClass,
                                                       boolean removal,
                                                       Object computationCause)
        Description copied from interface: ITypeSpecificObjectContextFactory
        Creates a new instance of the DD object context.
        Specified by:
        createContext in interface ITypeSpecificObjectContextFactory
        Parameters:
        segmentId - The DD segment identifier.
        bmObjectId - The identifier of the object to register the removal for.
        objectEClass - The EClass of the object to register the removal for. Cannot be null
        removal - Indicates that the created context is an object removal context.
        computationCause - Session id the DD context is being collected for. Used only in case if syncContext == true
        Returns:
        A new context instance.