Implements an immutable wrapper around a 16-byte ID.
IDs may be used to identify metadata about applications, transactions,
metrics, systems, and users. The ID may be a standard DCE UUID
(universally unique identifier) but need not be. Any unique 16-byte value
will suffice. There is no central registry of IDs that would guarantee
uniqueness. Programs creating these IDs are expected to use an algorithm
that will take advantage of the available 128 bits to create an ID for
which there will be a vanishingly small probability of its being a
duplicate of an ID created by another program.
This interface was named
ArmUUID
in ARM 3.0.
There are no other changes for ARM 4.0.
Objects implementing this interface are created using
ArmTransactionFactory.newArmID(byte[])
, whose input
is the 16 bytes in a byte array.
Implementations of this interface should also override
equals()
and
hashCode()
from
java.lang.Object
.