Interface Identifier

All Superinterfaces:
org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, EObject, Notifier
All Known Implementing Classes:
IdentifierImpl

public interface Identifier extends org.eclipse.emf.cdo.CDOObject
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:
Generated class or method.
EMF model class or method.
abstract="true" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL identifierIsUnique='Identifier.allInstances()->isUnique(p: Identifier | p.id)'" annotation="http://www.eclipse.org/emf/2002/Ecore constraints='identifierIsUnique'"
  • Method Details

    • getId

      String getId()
      Returns the value of the 'Id' attribute.

      If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

      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:
      Generated class or method.
      EMF model class or method.
      id="true" required="true" extendedMetaData="name='id' namespace='http://sdq.ipd.uka.de/Identifier/1.0'"
    • setId

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