com.ibm.tws.objects.model
Class FlowNodeKey

java.lang.Object
  extended bycom.ibm.tws.objects.model.FlowNodeKey
All Implemented Interfaces:
java.io.Serializable, TWSKey
Direct Known Subclasses:
JobKey, JobStreamKey

public abstract class FlowNodeKey
extends java.lang.Object
implements TWSKey

This is a base abstraction for JobStreamKey and JobKey, hosting the attributes shared by these key classes, and is used in TWS external interfaces to identify job streams or jobs respectively.

See Also:
FlowNode, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Constructor Summary
protected FlowNodeKey()
          Creates an empty FlowNodeKey.
protected FlowNodeKey(java.lang.String flowNodeName)
          Creates a FlowNodeKey with the specified name.
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if all fields of this FlowNodeKey object are equal to those of the given one.
 java.lang.String getName()
          Returns the job stream or job name.
 int hashCode()
          Returns a hash code for this FlowNodeKey object.
 void setName(java.lang.String value)
          Sets the job stream or job name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.

Constructor Detail

FlowNodeKey

protected FlowNodeKey()
Creates an empty FlowNodeKey.


FlowNodeKey

protected FlowNodeKey(java.lang.String flowNodeName)
Creates a FlowNodeKey with the specified name.

Parameters:
flowNodeName - The job stream or job name.
Method Detail

getName

public java.lang.String getName()
Returns the job stream or job name.

Specified by:
getName in interface TWSKey
Returns:
The job stream or job name.

setName

public void setName(java.lang.String value)
Sets the job stream or job name.

Parameters:
value - The job stream or job name.

equals

public boolean equals(java.lang.Object object)
Returns true if all fields of this FlowNodeKey object are equal to those of the given one.

Parameters:
object - The object to be compared with this one.
Returns:
True if this object equals to the given one.

hashCode

public int hashCode()
Returns a hash code for this FlowNodeKey object.

Returns:
The object's hash code.


Copyright © 2005 IBM All Rights Reserved.