com.bea.commerce.ebusiness.discount.mgmt
Class QualificationDiscountId

java.lang.Object
  extended by com.bea.commerce.ebusiness.discount.mgmt.QualificationDiscountId
All Implemented Interfaces
Serializable, Comparable

public class QualificationDiscountId
extends Object
implements Serializable, Comparable

This class represents a unique identifier for a QualificationDiscountDef object.

See Also
Serialized Form

Field Summary
static String cName
          This class's name
 
Constructor Summary
QualificationDiscountId(int id)
          Constructor
 
Method Summary
 int compareTo(Object obj)
           
 boolean equals(Object obj)
          Tests if this QualificationDiscountId object is the same as the one passed
 int hashCode()
          A unique code for this discount
 int intValue()
          Gets an integer representation of this QualificationDiscountId
 String toString()
          Gets a String representation of this QualificationDiscountId
static String toString(Iterator it, int size)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

cName

public static final String cName
This class's name

See Also
Constants Summary
Constructor Detail

QualificationDiscountId

public QualificationDiscountId(int id)
Constructor

Parameters
id - a unique integer
Method Detail

equals

public boolean equals(Object obj)
Tests if this QualificationDiscountId object is the same as the one passed

Overrides:
equals in class Object
Parameters
obj - the QualificationDiscountId to compare this one to
Returns
true if the obj is the same this QualificationDiscountId, false otherwise

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable

hashCode

public int hashCode()
A unique code for this discount

Overrides:
hashCode in class Object
Returns
the hashCode for this discount

intValue

public int intValue()
Gets an integer representation of this QualificationDiscountId

Returns
an integer representation of this QualificationDiscountId

toString

public String toString()
Gets a String representation of this QualificationDiscountId

Overrides:
toString in class Object
Returns
a String representation of this QualificationDiscountId

toString

public static String toString(Iterator it,
                              int size)


Copyright © 2006 BEA Systems, Inc. All Rights Reserved