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 TypeMethodDescriptioncreateContext
(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
- TheEClass
of the object to create a context for. Cannot benull
SessionId
- Session id the DD context is being collected for. Used only in case if syncContext == true- Returns:
- A new context instance.
-
isSupported
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 benull
objectEClass
- TheEClass
of the object to create a context for. Cannot benull
- Returns:
- True if the context may be created
-