|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.FlowTarget
This is a base abstraction for Workstation and WorkstationClass. It wraps a FlowTargetHeader that in turn wraps a FlowTargetKey, and hosts the attributes shared by Workstation and WorkstationClass objects.
The following syntax validation constraints must be met on FlowTarget objects:
name | Always required |
Alphanumeric characters | |
Starting with alphabetic character | |
'-' and '_' characters allowed | |
Blank spaces not allowed | |
Not longer than 16 characters | |
description | Not longer than 120 characters |
includeInPlan | Default value is true |
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
protected |
FlowTarget(FlowTargetHeader flowTargetHeader)
Creates a FlowTarget with the specified header. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this FlowTarget object are equal to those of the given one. |
java.lang.String |
getDescription()
Returns the workstation or workstation class description. |
FlowTargetHeader |
getHeader()
Returns the FlowTargetHeader wrapped by this FlowTarget object. |
Identifier |
getId()
Returns the workstation or workstation class identifier. |
boolean |
getIncludeInPlan()
Returns the workstation or workstation class includeInPlan property. |
FlowTargetKey |
getKey()
Returns the FlowTargetKey wrapped by this FlowTarget object. |
LockData |
getLockData()
Returns the workstation or workstation class lock data. |
ModifyData |
getModifyData()
Returns the workstation or workstation class modification data. |
java.lang.String |
getName()
Returns the workstation or workstation class name. |
TWSHeader |
getObjectHeader()
Returns the workstation or workstation class header as a TWS header. |
TWSKey |
getObjectKey()
Returns the workstation or workstation class key as a TWS key. |
int |
hashCode()
Returns a hash code for this FlowTarget object. |
void |
setDescription(java.lang.String value)
Sets the workstation or workstation class description. |
void |
setHeader(FlowTargetHeader flowTargetHeader)
Sets the FlowTargetHeader to be wrapped by this FlowTarget object. |
void |
setId(Identifier identifier)
Sets the workstation or workstation class identifier. |
void |
setIncludeInPlan(boolean value)
Sets the workstation or workstation class includeInPlan property. |
void |
setKey(FlowTargetKey flowTargetKey)
Sets the FlowTargetKey to be wrapped by this FlowTarget object. |
void |
setLockData(LockData data)
Sets the workstation or workstation class lock data. |
void |
setModifyData(ModifyData data)
Sets the workstation or workstation class modification data. |
void |
setName(java.lang.String value)
Sets the workstation or workstation class name. |
java.lang.String |
toString()
Returns a string representation of this FlowTarget object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
protected FlowTarget(FlowTargetHeader flowTargetHeader)
flowTargetHeader
- The workstation or workstation class header.Method Detail |
public Identifier getId()
getId
in interface TWSObject
public TWSKey getObjectKey()
getObjectKey
in interface TWSObject
public TWSHeader getObjectHeader()
getObjectHeader
in interface TWSObject
public FlowTargetKey getKey()
public FlowTargetHeader getHeader()
public java.lang.String getName()
getName
in interface TWSObject
public java.lang.String getDescription()
public boolean getIncludeInPlan()
public ModifyData getModifyData()
getModifyData
in interface TWSObject
public LockData getLockData()
getLockData
in interface TWSObject
public void setId(Identifier identifier)
identifier
- The workstation or workstation class identifier.public void setKey(FlowTargetKey flowTargetKey)
flowTargetKey
- The FlowTargetKey to be wrapped by this FlowTarget object.public void setHeader(FlowTargetHeader flowTargetHeader)
flowTargetHeader
- The FlowTargetHeader to be wrapped by this FlowTarget object.public void setName(java.lang.String value)
value
- The workstation or workstation class name.public void setDescription(java.lang.String value)
value
- The workstation or workstation class description.public void setIncludeInPlan(boolean value)
value
- The workstation or workstation class includeInPlan property.public void setModifyData(ModifyData data)
data
- A ModifyData object.public void setLockData(LockData data)
data
- A LockData object.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |