All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.commerce.TransactionID

java.lang.Object
   |
   +----semper.commerce.TransactionID

public final class TransactionID
extends Object
implements Serializable
This class encapsulates a transaction identifier. Each transaction is identified by a unique transaction identifier. The different participants in a deal refer to the transaction using the same transaction identifier.

Version:
$Id: TransactionID.java,v 1.5 1998/05/18 11:49:48 semper Exp $
Author:
Rolf Michelsen, Stig Mj°lsnes

Constructor Index

 o TransactionID(ActiveDeal)
Creates a new transaction identifier that is unique for the specified deal.

Method Index

 o equals(Object)
Compares the transaction identifier for equality with another transaction identifier.
 o toString()
Returns a string representation of the transaction identifier that is suitable for diagnostics purposes.

Constructors

 o TransactionID
 public TransactionID(ActiveDeal deal)
Creates a new transaction identifier that is unique for the specified deal.

Parameters:
deal - The deal in which the transaction is to be requested.

Methods

 o toString
 public String toString()
Returns a string representation of the transaction identifier that is suitable for diagnostics purposes.

Returns:
A string representation of the transaction identifier.
Overrides:
toString in class Object
 o equals
 public boolean equals(Object obj)
Compares the transaction identifier for equality with another transaction identifier.

Returns:
true is the objects are equal.
Overrides:
equals in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index