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

Constructor Index

 o DealID(String)
Creates a unique deal identifier.

Method Index

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

Constructors

 o 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.

Methods

 o 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
 o 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