|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.plan.JobDefinitionInPlanHeader
This class is an utility class to host attributes of a Job Definition in plan. It implements the interface TWSHeader.
JobDefinitionInPlan
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
JobDefinitionInPlanHeader()
Creates an empty JobDefinitionInPlanHeader. |
|
JobDefinitionInPlanHeader(Identifier jobDefinitionId)
Creates a JobDefinitionInPlanHeader with the specified Identifier. |
|
JobDefinitionInPlanHeader(Identifier jobDefinitionId,
JobDefinitionInPlanKey jobDefinitionKey)
Creates a JobDefinitionInPlanHeader with the specified identifier and key. |
|
JobDefinitionInPlanHeader(JobDefinitionInPlanKey jobDefinitionKey)
Creates a JobDefinitionInPlanHeader with the specified key. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this JobDefinitionInPlanHeader object are equal to those of the given one. |
java.lang.String |
getDescription()
Returns the job definition description. |
Identifier |
getId()
Returns the job definition Identifier. |
JobDefinitionInPlanKey |
getKey()
Returns the JobDefinitionInPlanKey wrapped by this JobDefinitionInPlanHeader object. |
LockData |
getLockData()
Returns the object lock data. |
ModifyData |
getModifyData()
Returns the object modification data. |
java.lang.String |
getName()
Returns the job definition name. |
TWSKey |
getObjectKey()
Returns the object key. |
JobDefinitionInPlanKey |
getRecoveryJobKey()
Returns the key of the recovery job definition. |
java.lang.String |
getTaskType()
Returns the job definition task type. |
WorkstationInPlanKey |
getWorkstationKey()
Returns the key of the workstation referenced by this job definition. |
int |
hashCode()
Returns a hash code for this JobDefinitionInPlanHeader object. |
boolean |
isCommand()
Returns true if this job definitions refers to a command, false if refers to a script |
void |
setCommand(boolean b)
Sets if this job definitions refers to a command or if refers to a script |
void |
setDescription(java.lang.String value)
Sets the job definition description. |
void |
setId(Identifier identifier)
Sets the job definition Identifier. |
void |
setKey(JobDefinitionInPlanKey jobDefinitionKey)
Sets the JobDefinitionKey to be wrapped by this JobDefinitionInPlanHeader object. |
void |
setName(java.lang.String value)
Sets the job definition name. |
void |
setRecoveryJobKey(JobDefinitionInPlanKey recJobKey)
Sets the key of the recovery job definition. |
void |
setTaskType(java.lang.String value)
Sets the job definition task type. |
void |
setWorkstationKey(WorkstationInPlanKey wksKey)
Sets the key of the workstation referenced by this job definition. |
java.lang.String |
toString()
Returns a string representation of this JobDefinitionInPlanHeader. |
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 JobDefinitionInPlanHeader()
public JobDefinitionInPlanHeader(Identifier jobDefinitionId)
jobDefinitionId
- The job definition Identifier.public JobDefinitionInPlanHeader(JobDefinitionInPlanKey jobDefinitionKey)
jobDefinitionKey
- The job definition key.public JobDefinitionInPlanHeader(Identifier jobDefinitionId, JobDefinitionInPlanKey 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
TWSHeader.getObjectKey()
public JobDefinitionInPlanKey getKey()
public java.lang.String getName()
getName
in interface TWSHeader
public WorkstationInPlanKey getWorkstationKey()
public java.lang.String getDescription()
public java.lang.String getTaskType()
om.ibm.tws.objects.types.TaskTypes
public JobDefinitionInPlanKey getRecoveryJobKey()
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(JobDefinitionInPlanKey jobDefinitionKey)
jobDefinitionKey
- The JobDefinitionKey to be wrapped by this JobDefinitionInPlanHeader object.public void setName(java.lang.String value)
value
- The job definition name.public void setWorkstationKey(WorkstationInPlanKey wksKey)
wksKey
- The key of the workstation 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 setRecoveryJobKey(JobDefinitionInPlanKey recJobKey)
recJobKey
- The key of the recovery job definition.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
public boolean isCommand()
public void setCommand(boolean b)
b
- true if this job definitions refers to a command, false if refers to a script
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |