|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.examples.bo.impl.customer.CustomerPK
public class CustomerPK
This class defines the primary key attributes of the customer entity.
| Field Summary | |
|---|---|
String |
ownerId
this string uniquely identifies this key |
| Fields inherited from interface com.bankframe.ejb.EPrimaryKey |
|---|
serialVersionUID |
| Constructor Summary | |
|---|---|
CustomerPK()
Default Constructor. |
|
CustomerPK(String ownerId)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(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. |
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 String ownerId
| Constructor Detail |
|---|
public CustomerPK()
public CustomerPK(String ownerId)
| Method Detail |
|---|
public boolean equals(Object o)
equals in interface EPrimaryKeyequals in class Objecto - the obejct to compare with
public int hashCode()
hashCode in interface EPrimaryKeyhashCode in class Objectpublic DataPacket toDataPacket()
toDataPacket in interface EPrimaryKeypublic String toString()
toString in interface EPrimaryKeytoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||