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 Summary
Constructors Constructor Description IntegrationContext(SupplySettingsContext supplySettingsContext, String libraryName, IDtProject destinationProject, IDtProjectDataSourceConnector destinationDataSource, IDtProjectDataSourceConnector libraryDataSource, IDataReferenceProvider dataReferenceProvider)
Creates an instance of the integration context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
IDataReferenceProvider
getDataReferenceProvider()
Gets the data reference provider associated with the sessionIDtProjectDataSourceConnector
getDestinationDataSource()
Gets the destination data source.IDtProject
getDestinationProject()
Gets the destination project.IDtProjectDataSourceConnector
getLibraryDataSource()
Gets the library data source.String
getLibraryName()
Gets the library name as defined in library integration settings.SupplySettingsContext
getSupplySettingsContext()
Gets the supply settings model context.int
hashCode()
-
-
-
Constructor Detail
-
IntegrationContext
public 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 benull
libraryName
- The library name. Cannot benull
destinationProject
- The destination project. Cannot benull
destinationDataSource
- The destination project data source. Cannot benull
libraryDataSource
- The library project data source. Cannot benull
dataReferenceProvider
- The data reference provider. Cannot benull
-
-
Method Detail
-
getDataReferenceProvider
public IDataReferenceProvider getDataReferenceProvider()
Gets the data reference provider associated with the session- Returns:
- The data reference provider, cannot be
null
-
getDestinationDataSource
public IDtProjectDataSourceConnector getDestinationDataSource()
Gets the destination data source.- Returns:
- The destination project data source. Cannot be
null
-
getDestinationProject
public IDtProject getDestinationProject()
Gets the destination project.- Returns:
- The destination project. Cannot be
null
-
getLibraryDataSource
public IDtProjectDataSourceConnector getLibraryDataSource()
Gets the library data source.- Returns:
- The library project data source. Cannot be
null
-
getLibraryName
public String getLibraryName()
Gets the library name as defined in library integration settings.- Returns:
- The library name. Cannot be
null
-
getSupplySettingsContext
public SupplySettingsContext getSupplySettingsContext()
Gets the supply settings model context.- Returns:
- The supply setting model context. Cannot be
null
-
-