public interface ElementId
For instance 'Boolean' is a well-understood conceptual type, but it may have many 'actual' types as a result of Complete OCL definitions merging additional features in to the 'actual' type. It may also have many representations, perhaps one from UML, another from Ecore and another in the Pivot model.
A unique identifier provides a convenient mechanism for locating alternative representations, or pre-existing copies of the same representation. The identifiers of for instance Collections and Tuples observe scope-independent semantics so that equivalent collection and tuple types share the same element identifier.
EnumerationLiteralId
,
OperationId
,
PackageId
,
TypeId
Modifier and Type | Interface and Description |
---|---|
static class |
ElementId.ElementIdComparator |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(IdVisitor<R> visitor) |
java.lang.String |
getDisplayName()
Return a simple name for diagnostics.
|
@Nullable <R> R accept(@NonNull IdVisitor<R> visitor)
@NonNull java.lang.String getDisplayName()