|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.pbw.jpa.OrderKey
public class OrderKey
The key class of the Order entity bean.
Field Summary | |
---|---|
String |
orderID
|
Constructor Summary | |
---|---|
OrderKey()
Constructs an OrderKey object. |
|
OrderKey(String orderID)
Constructs a newly allocated OrderKey object that represents the primitive long argument. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Determines if the OrderKey object passed to the method matches this OrderKey object. |
String |
getOrderID()
Get accessor for persistent attribute: orderID |
int |
hashCode()
Generates a hash code for this OrderKey object. |
void |
setOrderID(String newOrderID)
Set accessor for persistent attribute: orderID |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String orderID
Constructor Detail |
---|
public OrderKey()
public OrderKey(String orderID)
Method Detail |
---|
public boolean equals(Object obj)
equals
in class Object
obj
- java.lang.Object The OrderKey object to compare to this OrderKey object.
public int hashCode()
hashCode
in class Object
public String getOrderID()
public void setOrderID(String newOrderID)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |