© 2001 BEA Systems, Inc.

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

java.lang.Object
  |
  +--com.bea.commerce.ebusiness.discount.mgmt.QualificationDiscountId
All Implemented Interfaces:
java.io.Serializable

public class QualificationDiscountId
extends java.lang.Object
implements java.io.Serializable

This class represents a unique identifier for a QualificationDiscountDef object.

See Also:
Serialized Form

Field Summary
static java.lang.String cName
          This class's name
 
Constructor Summary
QualificationDiscountId(int id)
          Constructor
 
Method Summary
 boolean equals(java.lang.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
 java.lang.String toString()
          Gets a String representation of this QualificationDiscountId
static java.lang.String toString(java.util.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 java.lang.String cName
This class's name
Constructor Detail

QualificationDiscountId

public QualificationDiscountId(int id)
Constructor
Parameters:
id - a unique integer
Method Detail

equals

public boolean equals(java.lang.Object obj)
Tests if this QualificationDiscountId object is the same as the one passed
Overrides:
equals in class java.lang.Object
Parameters:
obj - the QualificationDiscountId to compare this one to
Returns:
true if the obj is the same this QualificationDiscountId, false otherwise

hashCode

public int hashCode()
A unique code for this discount
Overrides:
hashCode in class java.lang.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 java.lang.String toString()
Gets a String representation of this QualificationDiscountId
Overrides:
toString in class java.lang.Object
Returns:
a String representation of this QualificationDiscountId

toString

public static java.lang.String toString(java.util.Iterator it,
                                        int size)

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved