|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.commerce.ebusiness.discount.mgmt.RuleType
@Deprecated public final class RuleType
This class represents the two types of discount rules
QualificationDiscountDef| Field Summary | |
|---|---|
static int |
I_ITEM
Deprecated The integer value for the item instance |
static int |
I_ORDER
Deprecated The integer value for the item instance |
static RuleType |
ITEM
Deprecated the item instance |
static RuleType |
ORDER
Deprecated the order instance |
static String |
S_ITEM
Deprecated The string value for the item instance |
static String |
S_ORDER
Deprecated The string value for the order instance |
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Deprecated Compares the specified object to this object. |
int |
getInt()
Deprecated Returns the string value for this instance. |
static RuleType |
getObject(String token)
Deprecated |
String |
getString()
Deprecated Returns the string value for this instance. |
int |
hashCode()
Deprecated Returns a hashcode value for the object. |
String |
toString()
Deprecated Returns a string value and the class name for the instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int I_ITEM
public static final int I_ORDER
public static final RuleType ITEM
public static final RuleType ORDER
public static final String S_ITEM
public static final String S_ORDER
| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getString()
public int getInt()
public static RuleType getObject(String token)
token - a string to match to a RuleType object
public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||