public class PivotLUSSIDs
extends LUSSIDs
The LUSSIDs class maintains the element to LUSSID and LUSSID to element mapping for the elements
of an ASResource. It also privides the ability to return predictable xmi:id values.
An xmi:id is provided for every explicitly referenced, and every potentially externally referenced element,
so that the fall-back the @x/@y.1 style id referemces is never required.
The xmi:id typically comprises a 5 Base64-like letter encoding of the bottom 30 bits of the LUSSID of the element.
Additional Base64 letters are occasionally needed to avoid duplicates.
The LUSSID (Locally Unique Semantically Sentsitive ID) is the hashcode of the hierarchical path of the element.
The resource location, model name and external URI are ignored avoiding dependence on location and URI.
Elements within ordered collections use the index, but elements within unordered collections use a further
local LUSSID that captures the name / template bindings / parameter names / collection bounds so that LUSSID
have substantial tolerance to insignaicant reordering of elements.
- Since:
- 1.4