Class IntegrationDataReferenceProvider
java.lang.Object
com._1c.g5.v8.dt.internal.compare.supply.IntegrationDataReferenceProvider
- All Implemented Interfaces:
IDataReferenceProvider
Data reference provider that delegates its logic to
ISupplyDataReferenceProviderComparisonDelegate being registered
by business modules that take part in the comparison process.-
Constructor Summary
ConstructorsConstructorDescriptionIntegrationDataReferenceProvider(IntegrationDelegateProvider integrationDelegateProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetContainmentReference(String topObjectSymlink, org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EStructuralFeature targetFeature, org.eclipse.emf.ecore.EStructuralFeature containingFeature, Object... contextObjects) Gets containment reference based on provided context.booleanisTopObjectReference(String topObjectSymlink, org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EClass eClass, Object... contextObjects) Checks if the provided context points to the top object itself.
-
Constructor Details
-
IntegrationDataReferenceProvider
-
-
Method Details
-
getContainmentReference
public IDataReference getContainmentReference(String topObjectSymlink, org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EStructuralFeature targetFeature, org.eclipse.emf.ecore.EStructuralFeature containingFeature, Object... contextObjects) Description copied from interface:IDataReferenceProviderGets containment reference based on provided context.- Specified by:
getContainmentReferencein interfaceIDataReferenceProvider- Parameters:
topObjectSymlink- Symlynk of the top object containing target containment. Cannot benulltopObjectEClass- EClass of the top object for this containment. Cannot benulleClass- EClass of the target containment object. Cannot benulltargetFeature- Target feature of the containment, if available. Can benull- Returns:
- The generated reference of one of standard types. Can be
nullin case if the client integration doesn't support this type of the context for direct referencing from supply settings
-
isTopObjectReference
public boolean isTopObjectReference(String topObjectSymlink, org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EClass eClass, Object... contextObjects) Description copied from interface:IDataReferenceProviderChecks if the provided context points to the top object itself. Such references are being processed byISupplySettingsManagerstandard logic and doesn't require reference processing and encoding.- Specified by:
isTopObjectReferencein interfaceIDataReferenceProvider- Parameters:
topObjectSymlink- Symlynk of the top object containing target containment. Cannot benulltopObjectEClass- EClass of the top object for this containment. Cannot benulleClass- EClass of the target containment object. Cannot benull- Returns:
trueif the context points to the top object.falseotherwise
-