|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.examples.bo.impl.account.AccountPK
This class defines the primary key attributes of the Account Entity
Field Summary | |
java.lang.String |
accountNumber
|
java.lang.String |
cardNumber
|
Fields inherited from interface com.bankframe.ejb.EPrimaryKey |
serialVersionUID |
Constructor Summary | |
AccountPK()
Default Constructor. |
|
AccountPK(java.lang.String cardNumber,
java.lang.String accountNumber)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object o)
This method compares this instance with another for equality. |
int |
hashCode()
This method generates a hash code for this primary key. |
DataPacket |
toDataPacket()
This method converts this primary key to a DataPacket. |
java.lang.String |
toString()
This method returns 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 cardNumber
public java.lang.String accountNumber
Constructor Detail |
public AccountPK()
public AccountPK(java.lang.String cardNumber, java.lang.String accountNumber)
cardNumber
- part of the keyaccountNumber
- part of the keyMethod Detail |
public boolean equals(java.lang.Object o)
equals
in interface EPrimaryKey
o
- The object to compare with this object
public int hashCode()
hashCode
in interface EPrimaryKey
public DataPacket toDataPacket()
toDataPacket
in interface EPrimaryKey
public java.lang.String toString()
toString
in interface EPrimaryKey
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |