|
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.Object com.beasys.commerce.foundation.SmartKey com.beasys.commerce.ebusiness.order.OrderPk
@Deprecated public class OrderPk
This is a PrimaryKey for managing the life cycle of the Order entity. It is derived from SmartKey which requires that the classes be serializable and comparable.
Field Summary | |
---|---|
String |
identifier
Deprecated Identifier. |
Constructor Summary | |
---|---|
OrderPk()
Deprecated Default constructor. |
|
OrderPk(String identifier)
Deprecated Constructs a primary key with the specified identifier. |
Method Summary | |
---|---|
int |
compareTo(Object o)
Deprecated Implements the compareTo method. |
String |
getIdentifier()
Deprecated Returns the identifier |
int |
hashCode()
Deprecated Overrides the hashCode() method |
String |
toString()
Deprecated Returns the stringified version of the key class. |
Methods inherited from class com.beasys.commerce.foundation.SmartKey |
---|
equals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String identifier
Constructor Detail |
---|
public OrderPk()
public OrderPk(String identifier)
identifier
- Primary keyMethod Detail |
---|
public int compareTo(Object o)
(a > b) ==> (b < a) (a < b) ==> (b > a) (a = b) ==> (b = a)
compareTo
in interface Comparable
compareTo
in class SmartKey
o
- the Object to be compared.
public String toString()
toString
in class SmartKey
public int hashCode()
hashCode
in class Object
public String getIdentifier()
|
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 |