FileDocCategorySizeDatePackage
EJBPersonKey.javaAPI DocExample1014Sun Jul 06 01:05:36 BST 2003antipatterns.ejbs

EJBPersonKey

public final class EJBPersonKey extends Object implements Serializable
Created Jan 1, 2003 10:15:26 PM Code generated by the Forte For Java EJB Builder
author
jon

Fields Summary
public int
personId
Constructors Summary
public EJBPersonKey()

public EJBPersonKey(int personId)

        this.personId = personId;
    
Methods Summary
public booleanequals(java.lang.Object otherOb)

see
java.lang.Object#equals(java.lang.Object)

        
        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)
        
        );
    
public inthashCode()

see
java.lang.Object#hashCode()

        return (
        
        ((int) personId)
        
        );