All Packages Class Hierarchy This Package Previous Next Index
Class semper.commerce.DealID
java.lang.Object
|
+----semper.commerce.DealID
- public final class DealID
- extends Object
- implements Serializable
This class encapsulates a deal identifier. Each deal is identified by a
unique deal identifier. The different participants in a given deal refer
to the deal using the same deal identifier.
- Version:
- $Id: DealID.java,v 1.2 1998/03/27 14:18:38 semper Exp $
- Author:
- Rolf Michelsen, Stig Mj�lsnes
-
DealID(String)
- Creates a unique deal identifier.
-
equals(Object)
- Compares the deal identifier for equality with another deal identifier.
-
toString()
- Returns a string representation of the deal identifier suitable for printing
for diagnostics purposes.
DealID
public DealID(String name)
- Creates a unique deal identifier. The deal identifier is partially based
on the distinguished name of the creator of the deal and this must be
supplied.
- Parameters:
- name - Distinguished name of the creator of the deal.
toString
public String toString()
- Returns a string representation of the deal identifier suitable for printing
for diagnostics purposes.
- Returns:
- A string representation of the deal identifier.
- Overrides:
- toString in class Object
equals
public boolean equals(Object obj)
- Compares the deal identifier for equality with another deal identifier.
- Returns:
-
true
is the objects are equal.
- Overrides:
- equals in class Object
All Packages Class Hierarchy This Package Previous Next Index