|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.ejbquery.employeefinderejb.DeptKey
public class DeptKey
The Primary Key Class for the CMP Dept entity bean.
Field Summary | |
---|---|
java.lang.Integer |
deptno
The deptno attribute for Dept Primary Key. |
Constructor Summary | |
---|---|
DeptKey()
Default constructor for Dept Primary Key. |
|
DeptKey(java.lang.Integer deptno)
Constructor for Dept 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 deptno
Constructor Detail |
---|
public DeptKey()
public DeptKey(java.lang.Integer deptno)
deptno
- 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 |