Package com.e1c.g5.v8.dt.check.suppress
Interface IDataReferenceProvider
- 
 public interface IDataReferenceProviderData reference provider performs analysis of the provided context and creates corresponding data references using reference formats being supported by internal facilities of theISuppressSettingsManager.
 Provided reference should be one from supported types: Implementation of this interface should be provided by clients based on their internal data formats.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IDataReferencegetContainmentReference(String topObjectSymlink, org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EClass targetEClass, 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 targetEClass, Object... contextObjects)Checks if the provided context points to the top object itself.
 
- 
- 
- 
Method Detail- 
getContainmentReferenceIDataReference getContainmentReference(String topObjectSymlink, org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EClass targetEClass, org.eclipse.emf.ecore.EStructuralFeature targetFeature, org.eclipse.emf.ecore.EStructuralFeature containingFeature, Object... contextObjects) Gets containment reference based on provided context.- 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
- targetEClass- EClass of the target containment object. Cannot be- null
- targetFeature- Target feature of the containment, if available. Can be- null
- contextObjects- The set of context objects being provided as a result of the- ISuppressSettingsManager#getIntegrationSettingscall. This context depends on the client logic and should be matched with the corresponding impementation of- IDataReferenceProvider
- 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 suppress settings
 
 - 
isTopObjectReferenceboolean isTopObjectReference(String topObjectSymlink, org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EClass targetEClass, Object... contextObjects) Checks if the provided context points to the top object itself. Such references are being processed byISuppressSettingsManagerstandard logic and doesn't require reference processing and encoding.- 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
- targetEClass- EClass of the target containment object. Cannot be- null
- contextObjects- The set of context objects being provided as a result of the- ISuppressSettingsManager#getIntegrationSettingscall. This context depends on the client logic and should be matched with the corresponding impementation of- IDataReferenceProvider
- Returns:
- trueif the context points to the top object.- falseotherwise
 
 
- 
 
-