com.ibm.websphere.samples.activitysessions.ASContainerManagedEJB
Class ASContainerManagedEJBKey

java.lang.Object
  extended by com.ibm.websphere.samples.activitysessions.ASContainerManagedEJB.ASContainerManagedEJBKey
All Implemented Interfaces:
java.io.Serializable

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

The Primary Key Class for the ASContainerManagedEJB. The Priamary Key is based on an int value.

See Also:
Serialized Form

Field Summary
 int index
           
 
Constructor Summary
ASContainerManagedEJBKey()
          Default constructor for ASContainerManagedKey
ASContainerManagedEJBKey(int argIndex)
          Contructor for ASContainerManagedKey specifying the key value
 
Method Summary
 boolean equals(java.lang.Object o)
          This equality method determines if the Object passed in matches this Primary Key.
 int hashCode()
          This method returns the hash code of a Primary Key.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

public int index
Constructor Detail

ASContainerManagedEJBKey

public ASContainerManagedEJBKey()
Default constructor for ASContainerManagedKey


ASContainerManagedEJBKey

public ASContainerManagedEJBKey(int argIndex)
Contructor for ASContainerManagedKey specifying the key value

Parameters:
argIndex - int The key value
Method Detail

equals

public boolean equals(java.lang.Object o)
This equality method determines if the Object passed in matches this Primary Key.

Overrides:
equals in class java.lang.Object
Returns:
boolean Object representing the equality of the passed object.

hashCode

public int hashCode()
This method returns the hash code of a Primary Key.

Overrides:
hashCode in class java.lang.Object
Returns:
int Object representing the hash code of this Primary Key.