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

public class QualificationDiscountId
extends `Object`
implements `Comparable`, `Serializable`

This class represents a unique identifier for a `QualificationDiscountDef` object.

Hierarchy
  `Object`
  `QualificationDiscountId`

All Implemented Interfaces
  `Comparable`, `Serializable`

## Field Summary

`public static final `String`` | `cName` This class's name

## Constructor Summary

QualificationDiscountId(int id) Constructor

## Method Summary

`public int` | `compareTo`(`Object` obj)
`public boolean` | `equals`(`Object` obj) Tests if this `QualificationDiscountId` object is the same as the one passed
`public int` | `hashCode`() A unique code for this discount
`public int` | `intValue`() Gets an integer representation of this `QualificationDiscountId`
`public `String`` | `toString`() Gets a `String`representation of this `QualificationDiscountId```
`public static `String`` | `toString`(`Iterator` it, int size)

Methods from class `java.lang.`Object``
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Methods from interface `java.lang.`Comparable``
`compareTo`

## Field Detail

### cName

    public static final String cName

  This class's name

## Constructor Detail

### QualificationDiscountId

    public QualificationDiscountId(int id)

  Constructor

## Method Detail

### compareTo(Object) Method

    public int compareTo(Object obj)

### equals(Object) Method

    public boolean equals(Object obj)

Tests if this `QualificationDiscountId` object is the same as the one passed

Overrides
  `Object.equals(Object)`

#### Parameters

obj
  the `QualificationDiscountId` to compare this one to

#### Returns

true if the `obj` is the same this `QualificationDiscountId`, false otherwise

### hashCode() Method

    public int hashCode()

A unique code for this discount

Overrides
  `Object.hashCode()`

#### Returns

the hashCode for this discount

### intValue() Method

    public int intValue()

Gets an integer representation of this `QualificationDiscountId`

#### Returns

an integer representation of this `QualificationDiscountId`

### toString() Method

    public String toString()

Gets a `String`representation of this `QualificationDiscountId`

Overrides
  `Object.toString()`

#### Returns

a `String`representation of this `QualificationDiscountId```

### toString(Iterator, int) Method

    public static String toString(Iterator it,
                                  int size)

``