Package org.eclipse.glsp.server.emf
Interface EMFIdGenerator
-
- All Known Subinterfaces:
EMFSemanticIdConverter
- All Known Implementing Classes:
AttributeIdGenerator,EMFSemanticIdConverter.Default,FragmentIdGenerator,IdentificationIdGenerator,SemanticFragmentIdConverter,UUIDIdGenerator,XMIIDGenerator
public interface EMFIdGeneratorA generator class that creates a unique identifier for a given EObject. Ideally, the generated IDs should be considered stable during resource close/load and across model modifications. The ids are used when indexing the element and may be given to the GModel element.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetOrCreateId(org.eclipse.emf.ecore.EObject element)Returns a unique identifier for the given element.
-