com.bankframe.services.accesscontrol.ejb.groupmembers
Class EJBGroupMemberPK

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

public class EJBGroupMemberPK
extends Object
implements Serializable

This class is the primary key for the EJBGroupPermissionBean.

See Also:
Serialized Form

Field Summary
 String groupId
           
 String userId
           
 
Constructor Summary
EJBGroupMemberPK()
          Default Class constructor
EJBGroupMemberPK(String userId, String groupId)
          Class constructor.
 
Method Summary
 boolean equals(Object o)
          This method is required by the EJB1.1 specificiation.
 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

groupId

public String groupId
Constructor Detail

EJBGroupMemberPK

public EJBGroupMemberPK()
Default Class constructor


EJBGroupMemberPK

public EJBGroupMemberPK(String userId,
                        String groupId)
Class constructor.

Parameters:
userId - String for Primary Key
groupId - String for Primary Key
Method Detail

equals

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

Overrides:
equals in class Object
Parameters:
o - Object the object to comapre to.
Returns:
true id this object equals the parameter

hashCode

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

Overrides:
hashCode in class Object
Returns:
the hash result


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