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
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)
|
cName
public static final String
cName
- This class's name
QualificationDiscountId
public QualificationDiscountId(int id)
- Constructor
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)