WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.cluster.ejb.account
Class AccountPK

java.lang.Object
  |
  +--examples.cluster.ejb.account.AccountPK
All Implemented Interfaces:
java.io.Serializable

public class AccountPK
extends java.lang.Object
implements java.io.Serializable

This class is the Primary Key for the EJBean AccountBean.

Author:
Copyright (c) 1999-2000 by BEA Systems, Inc. All Rights Reserved.

Field Summary
 java.lang.String accountId
           
 
Constructor Summary
AccountPK()
          Default constructor
AccountPK(java.lang.String accountId)
          Primaary key constructor given an account ID.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accountId

public java.lang.String accountId
Constructor Detail

AccountPK

public AccountPK()
Default constructor

AccountPK

public AccountPK(java.lang.String accountId)
Primaary key constructor given an account ID.
Parameters:
accountId - string account ID
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.