Package com._1c.g5.v8.dt.supply
Class IntegrationContext
java.lang.Object
com._1c.g5.v8.dt.supply.IntegrationContext
- All Implemented Interfaces:
ILifecycleContext
Context of the integration model. The context defines the combined model of the library supplement and corresponding
integration settings.
-
Constructor Summary
ConstructorsConstructorDescriptionIntegrationContext(SupplySettingsContext supplySettingsContext, String libraryName, IDtProject destinationProject, IDtProjectDataSourceConnector destinationDataSource, IDtProjectDataSourceConnector libraryDataSource, IDataReferenceProvider dataReferenceProvider) Creates an instance of the integration context. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the data reference provider associated with the sessionGets the destination data source.Gets the destination project.Gets the library data source.Gets the library name as defined in library integration settings.Gets the supply settings model context.inthashCode()
-
Constructor Details
-
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 benulllibraryName- The library name. Cannot benulldestinationProject- The destination project. Cannot benulldestinationDataSource- The destination project data source. Cannot benulllibraryDataSource- The library project data source. Cannot benulldataReferenceProvider- The data reference provider. Cannot benull
-
-
Method Details
-
equals
-
getDataReferenceProvider
Gets the data reference provider associated with the session- Returns:
- The data reference provider, cannot be
null
-
getDestinationDataSource
Gets the destination data source.- Returns:
- The destination project data source. Cannot be
null
-
getDestinationProject
Gets the destination project.- Returns:
- The destination project. Cannot be
null
-
getLibraryDataSource
Gets the library data source.- Returns:
- The library project data source. Cannot be
null
-
getLibraryName
Gets the library name as defined in library integration settings.- Returns:
- The library name. Cannot be
null
-
getSupplySettingsContext
Gets the supply settings model context.- Returns:
- The supply setting model context. Cannot be
null
-
hashCode
public int hashCode()
-