com.ibm.tws.objects.plan
Class FlowNodeInPlanKey

java.lang.Object
  extended bycom.ibm.tws.objects.plan.FlowNodeInPlanKey
All Implemented Interfaces:
java.io.Serializable, TWSKey
Direct Known Subclasses:
JobInPlanKey, JobStreamInPlanKey

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

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

See Also:
FlowNodeInPlan, Serialized Form

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

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.

Constructor Detail

FlowNodeInPlanKey

protected FlowNodeInPlanKey()
Creates an empty FlowNodeInPlanKey.


FlowNodeInPlanKey

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

Parameters:
flowNodeName - The Flow Node name.
Method Detail

getName

public java.lang.String getName()
Returns The Flow Node Name

Specified by:
getName in interface TWSKey
Returns:
The Flow Node Name

setName

public void setName(java.lang.String string)
Sets The Flow Node Name

Parameters:
string - The Flow Node Name to set.

equals

public boolean equals(java.lang.Object object)
Returns true if all fields of this FlowNodeInPlanKey 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 FlowNodeInPlanKey object.

Returns:
The object's hash code.

toString

public java.lang.String toString()
Returns a string representation of this FlowNodeInPlanKey.

Returns:
A text string including all FlowNodeInPlanKey fields.


Copyright © 2005 IBM All Rights Reserved.