|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bankframe.examples.bo.impl.customer.CustomerPK
This class defines the primary key attributes of the customer entity.
Field Summary | |
java.lang.String |
ownerId
this string uniquely identifies this key |
Fields inherited from interface com.bankframe.ejb.EPrimaryKey |
serialVersionUID |
Constructor Summary | |
CustomerPK()
Default Constructor. |
|
CustomerPK(java.lang.String ownerId)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object o)
This method compares this instance with another for equality. |
int |
hashCode()
This method returns a hash-code value for this primary key. |
DataPacket |
toDataPacket()
This method creates a DataPacket that contains the information from this key. |
java.lang.String |
toString()
This method gets a string representation of this primary key. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String ownerId
Constructor Detail |
public CustomerPK()
public CustomerPK(java.lang.String ownerId)
Method Detail |
public boolean equals(java.lang.Object o)
equals
in interface EPrimaryKey
equals
in class java.lang.Object
o
- the obejct to compare with
public int hashCode()
hashCode
in interface EPrimaryKey
hashCode
in class java.lang.Object
public DataPacket toDataPacket()
toDataPacket
in interface EPrimaryKey
public java.lang.String toString()
toString
in interface EPrimaryKey
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |