Interface IObjectContextFactory

All Known Implementing Classes:
ObjectContextFactory

public interface IObjectContextFactory
Unified factory responsible for producing empty DD object contexts. Implementations relies on TODO
  • Method Summary

    Modifier and Type
    Method
    Description
    createContext(String segmentId, Object objectId, org.eclipse.emf.ecore.EClass objectEClass)
    Creates a new instance of the DD object context.
    boolean
    isSupported(String segmentId, org.eclipse.emf.ecore.EClass objectEClass)
    Checks if the given object type is supported by the DD subsystem thus the context may be created
  • Method Details

    • createContext

      IObjectDerivedDataContext createContext(String segmentId, Object objectId, org.eclipse.emf.ecore.EClass objectEClass)
      Creates a new instance of the DD object context.
      Parameters:
      segmentId - The DD segment identifier.
      objectId - The identifier of the object to create a context for for.
      objectEClass - The EClass of the object to create a context for. Cannot be null
      SessionId - Session id the DD context is being collected for. Used only in case if syncContext == true
      Returns:
      A new context instance.
    • isSupported

      boolean isSupported(String segmentId, org.eclipse.emf.ecore.EClass objectEClass)
      Checks if the given object type is supported by the DD subsystem thus the context may be created
      Parameters:
      segmentId - The DD segment identifier. May not be null
      objectEClass - The EClass of the object to create a context for. Cannot be null
      Returns:
      True if the context may be created