Package com._1c.g5.v8.dt.supply
Class IntegrationContext
- java.lang.Object
- 
- com._1c.g5.v8.dt.supply.IntegrationContext
 
- 
- All Implemented Interfaces:
- ILifecycleContext
 
 public class IntegrationContext extends Object implements ILifecycleContext Context of the integration model. The context defines the combined model of the library supplement and corresponding integration settings.
- 
- 
Constructor SummaryConstructors Constructor Description IntegrationContext(SupplySettingsContext supplySettingsContext, String libraryName, IDtProject destinationProject, IDtProjectDataSourceConnector destinationDataSource, IDtProjectDataSourceConnector libraryDataSource, IDataReferenceProvider dataReferenceProvider)Creates an instance of the integration context.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)IDataReferenceProvidergetDataReferenceProvider()Gets the data reference provider associated with the sessionIDtProjectDataSourceConnectorgetDestinationDataSource()Gets the destination data source.IDtProjectgetDestinationProject()Gets the destination project.IDtProjectDataSourceConnectorgetLibraryDataSource()Gets the library data source.StringgetLibraryName()Gets the library name as defined in library integration settings.SupplySettingsContextgetSupplySettingsContext()Gets the supply settings model context.inthashCode()
 
- 
- 
- 
Constructor Detail- 
IntegrationContextpublic IntegrationContext(SupplySettingsContext supplySettingsContext, String libraryName, IDtProject destinationProject, IDtProjectDataSourceConnector destinationDataSource, IDtProjectDataSourceConnector libraryDataSource, IDataReferenceProvider dataReferenceProvider) Creates an instance of the integration context.- Parameters:
- supplySettingsContext- The supply setting model context. Cannot be- null
- libraryName- The library name. Cannot be- null
- destinationProject- The destination project. Cannot be- null
- destinationDataSource- The destination project data source. Cannot be- null
- libraryDataSource- The library project data source. Cannot be- null
- dataReferenceProvider- The data reference provider. Cannot be- null
 
 
- 
 - 
Method Detail- 
getDataReferenceProviderpublic IDataReferenceProvider getDataReferenceProvider() Gets the data reference provider associated with the session- Returns:
- The data reference provider, cannot be null
 
 - 
getDestinationDataSourcepublic IDtProjectDataSourceConnector getDestinationDataSource() Gets the destination data source.- Returns:
- The destination project data source. Cannot be null
 
 - 
getDestinationProjectpublic IDtProject getDestinationProject() Gets the destination project.- Returns:
- The destination project. Cannot be null
 
 - 
getLibraryDataSourcepublic IDtProjectDataSourceConnector getLibraryDataSource() Gets the library data source.- Returns:
- The library project data source. Cannot be null
 
 - 
getLibraryNamepublic String getLibraryName() Gets the library name as defined in library integration settings.- Returns:
- The library name. Cannot be null
 
 - 
getSupplySettingsContextpublic SupplySettingsContext getSupplySettingsContext() Gets the supply settings model context.- Returns:
- The supply setting model context. Cannot be null
 
 
- 
 
-