|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.plan.FlowNodeInPlanKey
com.ibm.tws.objects.plan.JobStreamInPlanKey
This object represents a job stream instance in plan external key, including fields used to identify a job stream in TWS external interfaces. Since a job stream is identified by its name, a validity date (the Scheduled Time) and a referenced workstation , this class includes a name attribute, a date attribute and a reference to a WorkstationInPlanKey object. Note that not in all situations a JobStreamInPlanKey can uniquely identify a JobStream there are situations in which name/workstation/Schedule Time are not enoght. In these situations you can identify each Job Stream instance by the JobStreamInPlan.internalIdentifier attribute, and use in all the APIs the Job Stream Identifier instead of filtering on name/workstation/Schedule Time
JobStreamInPlan
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
JobStreamInPlanKey()
Creates an empty JobStreamKey. |
|
JobStreamInPlanKey(java.lang.String name,
WorkstationInPlanKey wrkKey,
java.util.Date startTime)
Creates a JobStreamKey with the specifed name, Workstation reference and scheduled time. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this JobStreamInPlanKey object are equal to those of the given one. |
java.util.Date |
getStartTime()
Returns the Scheduled Tome. |
WorkstationInPlanKey |
getWorkstationKey()
Returns the reference to the Workstation key |
int |
hashCode()
Returns a hash code for this JobStreamInPlanKey object. |
void |
setStartTime(java.util.Date date)
Sets the Scheduled Time |
void |
setWorkstationKey(WorkstationInPlanKey key)
Sets the Workstation key. |
java.lang.String |
toString()
Returns a string representation of this JobStreamInPlanKey. |
Methods inherited from class com.ibm.tws.objects.plan.FlowNodeInPlanKey |
---|
getName, setName |
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 JobStreamInPlanKey()
public JobStreamInPlanKey(java.lang.String name, WorkstationInPlanKey wrkKey, java.util.Date startTime)
name
- the JobStreamNamewrkKey
- reference to a Workstation keystartTime
- the job stream scheduled time.Method Detail |
public boolean equals(java.lang.Object object)
equals
in class FlowNodeInPlanKey
object
- The object to be compared with this one.
public int hashCode()
hashCode
in class FlowNodeInPlanKey
public java.lang.String toString()
toString
in class FlowNodeInPlanKey
public WorkstationInPlanKey getWorkstationKey()
public void setWorkstationKey(WorkstationInPlanKey key)
key
- the Workstation key.public java.util.Date getStartTime()
public void setStartTime(java.util.Date date)
date
- the Scheduled Time
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |