com.bankframe.services.authentication.ejb.user
Class EJBUserPK

java.lang.Object
  extended by com.bankframe.services.authentication.ejb.user.EJBUserPK
All Implemented Interfaces:
Serializable

public class EJBUserPK
extends Object
implements Serializable

This class is the implementation of the Primary Key for the EJUser class.

See Also:
Serialized Form

Field Summary
 String userId
          the user id uniquely identifies this key
 
Constructor Summary
EJBUserPK()
          Default class constructor.
EJBUserPK(String argUserId)
          Class constructor.
 
Method Summary
 boolean equals(Object o)
          This method is required by the EJB 1.1 specification.
 int hashCode()
          This method is required by the EJB1.1 specification.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userId

public String userId
the user id uniquely identifies this key

Constructor Detail

EJBUserPK

public EJBUserPK()
Default class constructor.


EJBUserPK

public EJBUserPK(String argUserId)
Class constructor.

Parameters:
argUserId - The user id for this PK
Method Detail

equals

public boolean equals(Object o)
This method is required by the EJB 1.1 specification.

Overrides:
equals in class Object
Parameters:
o - the object to compare to
Returns:
boolean

hashCode

public int hashCode()
This method is required by the EJB1.1 specification.

Overrides:
hashCode in class Object
Returns:
the hash code


Copyright © 2005, 2007, Oracle. All rights reserved.