org.arm4.arm40.transaction
Class ArmID

java.lang.Object
  extended by org.arm4.arm40.transaction.ArmInterface
      extended by org.arm4.arm40.transaction.ArmToken
          extended by 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

Field Summary
 
Fields inherited from class org.arm4.arm40.transaction.ArmToken
HASHKEY_MAX, m_hashkey, m_hashkeyGenerated, m_tokenData
 
Fields inherited from class org.arm4.arm40.transaction.ArmInterface
m_errorCode, m_factory
 
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 org.arm4.arm40.transaction.ArmToken
compare, copyBytes, copyBytes, getByte, getBytes, getLength, hashCode
 
Methods inherited from class org.arm4.arm40.transaction.ArmInterface
getErrorCode, getErrorMessage, getFactory, setErrorCode, setFactory
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opengroup.arm40.transaction.ArmToken
copyBytes, copyBytes, getBytes, getLength
 
Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface
getErrorCode, getErrorMessage, setErrorCode
 

Constructor Detail

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 -
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object