Package com.e1c.g5.dt.core.api.platform
Class BmOperationContext
- java.lang.Object
-
- com.e1c.g5.dt.core.api.platform.BmOperationContext
-
public class BmOperationContext extends Object
Standard context of BM operation computation. Contains all necessary service references as well as transactional contexts
-
-
Constructor Summary
Constructors Constructor Description BmOperationContext(INamingService namingService, IBmModelManager bmModelManager, IBmTransaction bmTransaction)
Constructs an instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBmModelManager
getBmModelManager()
Gets the BM model manager serviceIBmTransaction
getBmTransaction()
Gets an associated BM transactionIBmNamespace
getNamespace(org.eclipse.emf.common.util.URI uri)
Gets a namespace associated with a provided URIINamingService
getNamingService()
Gets the naming service reference
-
-
-
Constructor Detail
-
BmOperationContext
public BmOperationContext(INamingService namingService, IBmModelManager bmModelManager, IBmTransaction bmTransaction)
Constructs an instance- Parameters:
namingService
- TheINamingService
service reference. May not benull
bmModelManager
- TheIBmModelManager
service reference. May not benull
bmTransaction
- The targetIBmTransaction
for the type computing operation. May not benull
-
-
Method Detail
-
getBmModelManager
public IBmModelManager getBmModelManager()
Gets the BM model manager service- Returns:
- The BM model manager service reference. May not be
null
-
getBmTransaction
public IBmTransaction getBmTransaction()
Gets an associated BM transaction- Returns:
- An associated BM transaction. May not be
null
-
getNamespace
public IBmNamespace getNamespace(org.eclipse.emf.common.util.URI uri)
Gets a namespace associated with a provided URI- Parameters:
uri
- URI to get namespace by. May not benull
- Returns:
IBmNamespace
associated with a provided URI
-
getNamingService
public INamingService getNamingService()
Gets the naming service reference- Returns:
- The naming service reference. May not be
null
-
-