package antipatterns.ejbs;
/**
* Created Jan 1, 2003 10:15:26 PM
* Code generated by the Forte For Java EJB Builder
* @author jon
*/
public final class EJBPersonKey implements java.io.Serializable {
public int personId;
public EJBPersonKey() {}
public EJBPersonKey(int personId) {
this.personId = personId;
}
/**
* @see java.lang.Object#equals(java.lang.Object)
*/
public boolean equals(java.lang.Object otherOb) {
if (this == otherOb) {
return true;
}
if (!(otherOb instanceof antipatterns.ejbs.EJBPersonKey)) {
return false;
}
antipatterns.ejbs.EJBPersonKey other = (antipatterns.ejbs.EJBPersonKey) otherOb;
return (
(personId == other.personId)
);
}
/**
* @see java.lang.Object#hashCode()
*/
public int hashCode() {
return (
((int) personId)
);
}
}
|