Class IntegrationDataReferenceProvider

java.lang.Object
com._1c.g5.v8.dt.internal.compare.supply.IntegrationDataReferenceProvider
All Implemented Interfaces:
IDataReferenceProvider

public class IntegrationDataReferenceProvider extends Object implements IDataReferenceProvider
Data reference provider that delegates its logic to ISupplyDataReferenceProviderComparisonDelegate being registered by business modules that take part in the comparison process.
  • Constructor Details

  • 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: IDataReferenceProvider
      Gets containment reference based on provided context.
      Specified by:
      getContainmentReference in interface IDataReferenceProvider
      Parameters:
      topObjectSymlink - Symlynk of the top object containing target containment. Cannot be null
      topObjectEClass - EClass of the top object for this containment. Cannot be null
      eClass - EClass of the target containment object. Cannot be null
      targetFeature - Target feature of the containment, if available. Can be null
      Returns:
      The generated reference of one of standard types. Can be null in 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: IDataReferenceProvider
      Checks if the provided context points to the top object itself. Such references are being processed by ISupplySettingsManager standard logic and doesn't require reference processing and encoding.
      Specified by:
      isTopObjectReference in interface IDataReferenceProvider
      Parameters:
      topObjectSymlink - Symlynk of the top object containing target containment. Cannot be null
      topObjectEClass - EClass of the top object for this containment. Cannot be null
      eClass - EClass of the target containment object. Cannot be null
      Returns:
      true if the context points to the top object. false otherwise