Interface EMFSemanticIdConverter

  • All Superinterfaces:
    EMFIdGenerator
    All Known Implementing Classes:
    EMFSemanticIdConverter.Default, SemanticFragmentIdConverter

    public interface EMFSemanticIdConverter
    extends EMFIdGenerator
    A converter that can generate creates a unique identifier for a given semantic EObject but is also able to do the inverse operation, i.e., map from an identifier to the EObject. The ID converter is used to resolve the semantic elements referenced in notation elements during index creation.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.emf.ecore.EObject resolve​(java.lang.String semanticId, org.eclipse.emf.ecore.EObject root)
      Resolves a semantic element based on the given id and the semantic root.
    • Method Detail

      • resolve

        org.eclipse.emf.ecore.EObject resolve​(java.lang.String semanticId,
                                              org.eclipse.emf.ecore.EObject root)
        Resolves a semantic element based on the given id and the semantic root.
        Parameters:
        semanticId - semantic id generated through EMFIdGenerator.getOrCreateId(EObject).
        root - semantic root element
        Returns:
        the semantic element identified by the given semantic id