IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.batch
Class BatchJobStepKey

java.lang.Object
  extended by com.ibm.websphere.batch.BatchJobStepKey
All Implemented Interfaces:
java.io.Serializable

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

This is the Key class for a Batch Step EJB. The Batch Execution Environment uses this Key to identify a batch step EJB.

See Also:
Serialized Form

Field Summary
 java.lang.String jobID
          Implementation field for persistent attribute: jobID
 java.lang.String stepID
          Implementation field for persistent attribute: stepID
 
Constructor Summary
BatchJobStepKey()
          Creates an empty key for the Entity Bean.
BatchJobStepKey(java.lang.String jobID, java.lang.String stepID)
           
 
Method Summary
 boolean equals(java.lang.Object otherKey)
          Returns true if both keys are equal.
 int hashCode()
          Returns the hash code for the key.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobID

public java.lang.String jobID
Implementation field for persistent attribute: jobID


stepID

public java.lang.String stepID
Implementation field for persistent attribute: stepID

Constructor Detail

BatchJobStepKey

public BatchJobStepKey()
Creates an empty key for the Entity Bean.


BatchJobStepKey

public BatchJobStepKey(java.lang.String jobID,
                       java.lang.String stepID)
Method Detail

equals

public boolean equals(java.lang.Object otherKey)
Returns true if both keys are equal.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns the hash code for the key.

Overrides:
hashCode in class java.lang.Object

IBM WebSphere Application ServerTM
Release 7