public interface Identifier
extends org.eclipse.emf.cdo.CDOObject
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:
IdentifierPackage.getIdentifier()| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns the value of the 'Id' attribute.
|
boolean |
idHasToBeUnique(DiagnosticChain diagnostics,
Map<Object,Object> context)
--self.allInstances()->isUnique(p | p.id)
Identifier.allInstances()->isUnique(p: Identifier | p.id)
|
void |
setId(String value)
Sets the value of the '
Id' attribute. |
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOptioneAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverString getId()
setId(String),
IdentifierPackage.getIdentifier_Id()void setId(String value)
Id' attribute.
value - the new value of the 'Id' attribute.getId()boolean idHasToBeUnique(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.