com.ibm.websphere.samples.plantsbywebsphereejb
Class OrderItemKey

java.lang.Object
  extended by com.ibm.websphere.samples.plantsbywebsphereejb.OrderItemKey
All Implemented Interfaces:
java.io.Serializable

public class OrderItemKey
extends java.lang.Object
implements java.io.Serializable

Key class for Entity Bean: OrderItem

See Also:
Serialized Form

Field Summary
 java.lang.String inventoryID
          Implementation field for persistent attribute: inventoryID
 java.lang.String order_orderID
          Implementation field for persistent attribute: order_orderID
 
Constructor Summary
OrderItemKey()
          Creates an empty key for Entity Bean: OrderItem
OrderItemKey(java.lang.String inventoryID, OrderKey argOrder)
          Creates a key for Entity Bean: OrderItem
 
Method Summary
 boolean equals(java.lang.Object otherKey)
          Returns true if both keys are equal.
 OrderKey getOrderKey()
          This method was generated for supporting the relationship role named order.
 int hashCode()
          Returns the hash code for the key.
 void privateSetOrderKey(OrderKey inKey)
          This method was generated for supporting the relationship role named order.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inventoryID

public java.lang.String inventoryID
Implementation field for persistent attribute: inventoryID


order_orderID

public java.lang.String order_orderID
Implementation field for persistent attribute: order_orderID

Constructor Detail

OrderItemKey

public OrderItemKey()
Creates an empty key for Entity Bean: OrderItem


OrderItemKey

public OrderItemKey(java.lang.String inventoryID,
                    OrderKey argOrder)
Creates a key for Entity Bean: OrderItem

Method Detail

equals

public boolean equals(java.lang.Object otherKey)
Returns true if both keys are equal.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns the hash code for the key.

Overrides:
hashCode in class java.lang.Object

getOrderKey

public OrderKey getOrderKey()
This method was generated for supporting the relationship role named order. It will be deleted/edited when the relationship is deleted/edited.


privateSetOrderKey

public void privateSetOrderKey(OrderKey inKey)
This method was generated for supporting the relationship role named order. It will be deleted/edited when the relationship is deleted/edited.