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
-
TransactionID(ActiveDeal)
- Creates a new transaction identifier that is unique for the specified deal.
-
equals(Object)
- Compares the transaction identifier for equality with another
transaction identifier.
-
toString()
- Returns a string representation of the transaction identifier that is suitable
for diagnostics purposes.
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.
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
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