org.arm4.arm40.transaction
Class ArmID
java.lang.Object
org.arm4.arm40.transaction.ArmInterface
org.arm4.arm40.transaction.ArmToken
org.arm4.arm40.transaction.ArmID
- All Implemented Interfaces:
- ArmID, ArmInterface, ArmToken
public class ArmID
- extends ArmToken
- implements ArmID
ArmID implements an immutable wrapper around a 16-byte ID. IDs may be used to
identify metadata about applications, transactions, metrics, systems, and
users.
An ArmID is created with the newArmID() method of ArmTransactionFactory,
whose input is the 16 bytes in a byte array.
- Version:
- $Revision$ $Date$
- Author:
- dcarter
Constructor Summary |
ArmID()
Create the ARM Identification Tag. |
ArmID(byte[] id)
Create the ARM Identification Tag. |
ArmID(byte[] id,
int offset)
Create the ARM Identification Tag. |
Method Summary |
boolean |
equals(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ArmID
public ArmID()
- Create the ARM Identification Tag.
ArmID
public ArmID(byte[] id)
- Create the ARM Identification Tag.
- Parameters:
id
-
ArmID
public ArmID(byte[] id,
int offset)
- Create the ARM Identification Tag.
- Parameters:
id
- offset
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object