com.bankframe.services.accesscontrol.ejb.userpermission
Class EJBUserPermissionPK

java.lang.Object
  extended by com.bankframe.services.accesscontrol.ejb.userpermission.EJBUserPermissionPK
All Implemented Interfaces:
Serializable

public class EJBUserPermissionPK
extends Object
implements Serializable

This is the interface of the Primary Key for the EJBUserPermissionBean

See Also:
Serialized Form

Field Summary
 String requestId
          requestId for the Primary Key
 String userId
          userId for the Primary Key
 
Constructor Summary
EJBUserPermissionPK()
          Default Class constructor
EJBUserPermissionPK(String userId, String requestId)
          Class constructor.
 
Method Summary
 boolean equals(Object o)
          This method is required by the EJB1.1 specification.
 int hashCode()
          This method is required by the EJB1.1 spec.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userId

public String userId
userId for the Primary Key


requestId

public String requestId
requestId for the Primary Key

Constructor Detail

EJBUserPermissionPK

public EJBUserPermissionPK()
Default Class constructor


EJBUserPermissionPK

public EJBUserPermissionPK(String userId,
                           String requestId)
Class constructor.

Parameters:
userId - a string for the Primary Key
requestId - a string for the Primary Key
Method Detail

equals

public boolean equals(Object o)
This method is required by the EJB1.1 specification.

Overrides:
equals in class Object
Parameters:
o - an object to compare with this object
Returns:
true if this object equals the given object, otherwise false

hashCode

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

Overrides:
hashCode in class Object
Returns:
an int hashcode


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