|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.InternalDependency
This object models an internal dependency of a job in a job stream from another job in the same job stream.
The following syntax validation constraints must be met on InternalDependency objects in distributed environment:
jobKey | Must reference an existing job in the same job stream |
The following syntax validation constraints must be met on InternalDependency objects in z/OS environment:
jobKey | Must reference an existing job in the same job stream |
The job name must be a number between 1 and 255 | |
taskData | This is a read-only field |
transportTime | An amount of time, expressed in milliseconds |
Represents an estimated time for work to get to this workstation from the preceding one | |
Optional: use TypeUtility.NULL_OFFSET to specify null values | |
reportPrintOption | One of the values exposed by the PrintOption class |
Default value is PrintOption.ALWAYS | |
description | Not longer than 50 characters |
PrintOption
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
InternalDependency()
Creates an empty InternalDependency. |
|
InternalDependency(Identifier id)
Creates an InternalDependency, specifying the identifier of the referenced job. |
|
InternalDependency(Identifier id,
JobKey key)
Creates an InternalDependency, specifying the identifier and key of the referenced job. |
|
InternalDependency(JobKey key)
Creates an InternalDependency, specifying the key of the referenced job. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this InternalDependency object are equal to those of the given one. |
java.lang.String |
getDescription()
Returns the description of the dependent job. |
Identifier |
getId()
Returns the identifier of the job referenced by this dependency. |
Identifier |
getJobId()
Returns the identifier of the referenced job. |
JobKey |
getJobKey()
Returns the key of the referenced job. |
PrintOption |
getReportPrintOption()
Returns the LTP report print option. |
java.lang.String |
getTaskData()
Returns the task data of the dependent job. |
long |
getTransportTime()
Returns the transport time. |
int |
hashCode()
Returns a hash code for this InternalDependency object. |
void |
setDescription(java.lang.String value)
Sets the description of the dependent job. |
void |
setJobId(Identifier id)
Sets the identifier of the referenced job. |
void |
setJobKey(JobKey key)
Sets the key of the referenced job. |
void |
setReportPrintOption(PrintOption value)
Sets the LTP report print option. |
void |
setTaskData(java.lang.String value)
Sets the task data of the dependent job. |
void |
setTransportTime(long value)
Sets the transport time. |
java.lang.String |
toString()
Returns a string representation of this InternalDependency 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 |
public InternalDependency()
public InternalDependency(Identifier id)
id
- The identifier of the referenced job.public InternalDependency(JobKey key)
key
- The key of the referenced job.public InternalDependency(Identifier id, JobKey key)
id
- The identifier of the referenced job.key
- The key of the referenced job.Method Detail |
public Identifier getId()
getId
in interface TWSLink
public Identifier getJobId()
public JobKey getJobKey()
public java.lang.String getTaskData()
public java.lang.String getDescription()
public long getTransportTime()
public PrintOption getReportPrintOption()
public void setJobId(Identifier id)
id
- The identifier of the referenced job.public void setJobKey(JobKey key)
key
- The key of the referenced job.public void setTaskData(java.lang.String value)
value
- The task data of the dependent job.public void setDescription(java.lang.String value)
value
- The description of the dependent job.public void setTransportTime(long value)
value
- The transport time.public void setReportPrintOption(PrintOption value)
value
- The LTP report print option.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 |