|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.JobDefinitionHeader
This class hosts the attributes to be shown in TWS external interfaces when listing job definitions.
JobDefinition
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
JobDefinitionHeader()
Creates an empty JobDefinitionHeader. |
|
JobDefinitionHeader(Identifier jobDefinitionId)
Creates a JobDefinitionHeader with the specified identifier. |
|
JobDefinitionHeader(Identifier jobDefinitionId,
JobDefinitionKey jobDefinitionKey)
Creates a JobDefinitionHeader with the specified identifier and key. |
|
JobDefinitionHeader(JobDefinitionKey jobDefinitionKey)
Creates a JobDefinitionHeader with the specified key. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this JobDefinitionHeader object are equal to those of the given one. |
java.lang.String |
getDescription()
Returns the job definition description. |
FlowTargetKey |
getFlowTargetKey()
Returns the key of the workstation or workstation class referenced by this job definition. |
Identifier |
getId()
Returns the job definition identifier. |
JobDefinitionKey |
getKey()
Returns the JobDefinitionKey wrapped by this JobDefinitionHeader object. |
LockData |
getLockData()
Returns the job definition lock data. |
ModifyData |
getModifyData()
Returns the job definition modification data. |
java.lang.String |
getName()
Returns the job definition name. |
TWSKey |
getObjectKey()
Returns the job definition key as a TWS key. |
java.lang.String |
getTaskType()
Returns the job definition task type. |
java.lang.String |
getUserLogin()
Returns the user login to be used for this job definition. |
int |
hashCode()
Returns a hash code for this JobDefinitionHeader object. |
boolean |
isCommand()
Returns true if the task is a command, false if it is a script. |
void |
setCommand(boolean value)
Sets the property used to decide if the task is a command or a script. |
void |
setDescription(java.lang.String value)
Sets the job definition description. |
void |
setFlowTargetKey(FlowTargetKey trgKey)
Sets the key of the workstation or workstation class referenced by this job definition. |
void |
setId(Identifier identifier)
Sets the job definition identifier. |
void |
setKey(JobDefinitionKey jobDefinitionKey)
Sets the JobDefinitionKey to be wrapped by this JobDefinitionHeader object. |
void |
setLockData(LockData data)
Sets the job definition lock data. |
void |
setModifyData(ModifyData data)
Sets the job definition modification data. |
void |
setName(java.lang.String value)
Sets the job definition name. |
void |
setTaskType(java.lang.String value)
Sets the job definition task type. |
void |
setUserLogin(java.lang.String value)
Sets the user login to be used for this job definition. |
java.lang.String |
toString()
Returns a string representation of this JobDefinitionHeader 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 JobDefinitionHeader()
public JobDefinitionHeader(Identifier jobDefinitionId)
jobDefinitionId
- The job definition identifier.public JobDefinitionHeader(JobDefinitionKey jobDefinitionKey)
jobDefinitionKey
- The job definition key.public JobDefinitionHeader(Identifier jobDefinitionId, JobDefinitionKey jobDefinitionKey)
jobDefinitionId
- The job definition identifier.jobDefinitionKey
- The job definition key.Method Detail |
public Identifier getId()
getId
in interface TWSHeader
public TWSKey getObjectKey()
getObjectKey
in interface TWSHeader
public JobDefinitionKey getKey()
public java.lang.String getName()
getName
in interface TWSHeader
public FlowTargetKey getFlowTargetKey()
public java.lang.String getDescription()
public java.lang.String getTaskType()
public boolean isCommand()
public java.lang.String getUserLogin()
public ModifyData getModifyData()
getModifyData
in interface TWSHeader
public LockData getLockData()
getLockData
in interface TWSHeader
public void setId(Identifier identifier)
identifier
- The job definition identifier.public void setKey(JobDefinitionKey jobDefinitionKey)
jobDefinitionKey
- The JobDefinitionKey to be wrapped by this JobDefinitionHeader object.public void setName(java.lang.String value)
value
- The job definition name.public void setFlowTargetKey(FlowTargetKey trgKey)
trgKey
- The key of the workstation or workstation class referenced by this job definition.public void setDescription(java.lang.String value)
value
- The job definition description.public void setTaskType(java.lang.String value)
value
- The job definition task type.public void setCommand(boolean value)
value
- True if the task is a command, false if it is a script.public void setUserLogin(java.lang.String value)
value
- The user login to be used for this job definition.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 |