|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.ejbquery.employeefinderejb.EmpKey
public class EmpKey
The Primary Key Class for the CMP Emp entity bean.
Field Summary | |
---|---|
java.lang.Integer |
empid
The empid attribute for Emp Primary Key. |
Constructor Summary | |
---|---|
EmpKey()
Default constructor for Emp Primary Key. |
|
EmpKey(java.lang.Integer empid)
Constructor for Emp Primary Key specified by deptno. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object otherKey)
This equality method determines if the Object passed in matches this Primary Key. |
int |
hashCode()
This method returns the hash code of a Primary Key. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Integer empid
Constructor Detail |
---|
public EmpKey()
public EmpKey(java.lang.Integer empid)
empid
- java.lang.IntegerMethod Detail |
---|
public boolean equals(java.lang.Object otherKey)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |