Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      com.bea.commerce.ebusiness.discount.mgmt.QualificationDiscountId

All Implemented Interfaces:
  Comparable, Serializable

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:
    Constant Field Values

Constructor Detail

### QualificationDiscountId

    public QualificationDiscountId(int id)

  Constructor

Method Detail

### compareTo

    public int compareTo(Object obj)

  Specified by:
    `compareTo` in interface `Comparable`

### equals

    public boolean equals(Object obj)

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

  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

  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`

  ``
  Returns:
    a `String`representation of this `QualificationDiscountId```

### toString

    public static String toString(Iterator it,
                                  int size)

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved