Interface Identifier

  • All Superinterfaces:
    EObject, Notifier
    All Known Subinterfaces:
    Entity
    All Known Implementing Classes:
    EntityImpl, IdentifierImpl, IdentifierImplGen

    public interface Identifier
    extends EObject
    A representation of the model object 'Identifier'.

    Inherit from this entity to make an element uniquely identifiable.
    Identifiers are not fixed to one realization.
    GUIDs are recommend. GUIDs are described in their own model. See GUIDModel (GUID.emx).
    Identifier implementations can be found in external projects only.

    The following features are supported:

    See Also:
    IdentifierPackage.getIdentifier()
    Generated class or method.
    EMF model class or method.
    abstract="true" annotation="http://www.eclipse.org/emf/2002/Ecore constraints='identifierIsUnique'"
    • Method Detail

      • getId

        String getId()
        Returns the value of the 'Id' attribute. Identifier attribute, in the default PCM implementation, this field is filled with a randomly generated UUID value
        Returns:
        the value of the 'Id' attribute.
        See Also:
        setId(String), IdentifierPackage.getIdentifier_Id()
        Generated class or method.
        EMF model class or method.
        id="true" required="true"
      • setId

        void setId​(String value)
        Sets the value of the 'Id' attribute.
        Parameters:
        value - the new value of the 'Id' attribute.
        See Also:
        getId()
        Generated class or method.