* The identifier of the application. *
*/ private String applicationId; /** ** The unique identifier of this batch job. *
*/ private BatchJobIdentifier batchJobIdentifier; /** ** The timestamp when the batch job execution ended. *
*/ private java.util.Date endTime; /** ** The unique identifier for this batch job execution. *
*/ private String executionId; /** ** The unique identifier for this batch job. *
*/ private String jobId; /** ** The name of this batch job. *
*/ private String jobName; /** ** The type of job. *
*/ private String jobType; /** ** The user for the job. *
*/ private String jobUser; /** ** The batch job return code from either the Blu Age or Micro Focus runtime engines. For more information, see Batch return codes in the IBM * WebSphere Application Server documentation. *
*/ private String returnCode; /** ** The timestamp when the batch job execution started. *
*/ private java.util.Date startTime; /** ** The status of the batch job execution. *
*/ private String status; /** ** The reason for the reported status. *
*/ private String statusReason; /** ** The identifier of the application. *
* * @param applicationId * The identifier of the application. */ public void setApplicationId(String applicationId) { this.applicationId = applicationId; } /** ** The identifier of the application. *
* * @return The identifier of the application. */ public String getApplicationId() { return this.applicationId; } /** ** The identifier of the application. *
* * @param applicationId * The identifier of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBatchJobExecutionResult withApplicationId(String applicationId) { setApplicationId(applicationId); return this; } /** ** The unique identifier of this batch job. *
* * @param batchJobIdentifier * The unique identifier of this batch job. */ public void setBatchJobIdentifier(BatchJobIdentifier batchJobIdentifier) { this.batchJobIdentifier = batchJobIdentifier; } /** ** The unique identifier of this batch job. *
* * @return The unique identifier of this batch job. */ public BatchJobIdentifier getBatchJobIdentifier() { return this.batchJobIdentifier; } /** ** The unique identifier of this batch job. *
* * @param batchJobIdentifier * The unique identifier of this batch job. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBatchJobExecutionResult withBatchJobIdentifier(BatchJobIdentifier batchJobIdentifier) { setBatchJobIdentifier(batchJobIdentifier); return this; } /** ** The timestamp when the batch job execution ended. *
* * @param endTime * The timestamp when the batch job execution ended. */ public void setEndTime(java.util.Date endTime) { this.endTime = endTime; } /** ** The timestamp when the batch job execution ended. *
* * @return The timestamp when the batch job execution ended. */ public java.util.Date getEndTime() { return this.endTime; } /** ** The timestamp when the batch job execution ended. *
* * @param endTime * The timestamp when the batch job execution ended. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBatchJobExecutionResult withEndTime(java.util.Date endTime) { setEndTime(endTime); return this; } /** ** The unique identifier for this batch job execution. *
* * @param executionId * The unique identifier for this batch job execution. */ public void setExecutionId(String executionId) { this.executionId = executionId; } /** ** The unique identifier for this batch job execution. *
* * @return The unique identifier for this batch job execution. */ public String getExecutionId() { return this.executionId; } /** ** The unique identifier for this batch job execution. *
* * @param executionId * The unique identifier for this batch job execution. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBatchJobExecutionResult withExecutionId(String executionId) { setExecutionId(executionId); return this; } /** ** The unique identifier for this batch job. *
* * @param jobId * The unique identifier for this batch job. */ public void setJobId(String jobId) { this.jobId = jobId; } /** ** The unique identifier for this batch job. *
* * @return The unique identifier for this batch job. */ public String getJobId() { return this.jobId; } /** ** The unique identifier for this batch job. *
* * @param jobId * The unique identifier for this batch job. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBatchJobExecutionResult withJobId(String jobId) { setJobId(jobId); return this; } /** ** The name of this batch job. *
* * @param jobName * The name of this batch job. */ public void setJobName(String jobName) { this.jobName = jobName; } /** ** The name of this batch job. *
* * @return The name of this batch job. */ public String getJobName() { return this.jobName; } /** ** The name of this batch job. *
* * @param jobName * The name of this batch job. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBatchJobExecutionResult withJobName(String jobName) { setJobName(jobName); return this; } /** ** The type of job. *
* * @param jobType * The type of job. * @see BatchJobType */ public void setJobType(String jobType) { this.jobType = jobType; } /** ** The type of job. *
* * @return The type of job. * @see BatchJobType */ public String getJobType() { return this.jobType; } /** ** The type of job. *
* * @param jobType * The type of job. * @return Returns a reference to this object so that method calls can be chained together. * @see BatchJobType */ public GetBatchJobExecutionResult withJobType(String jobType) { setJobType(jobType); return this; } /** ** The type of job. *
* * @param jobType * The type of job. * @return Returns a reference to this object so that method calls can be chained together. * @see BatchJobType */ public GetBatchJobExecutionResult withJobType(BatchJobType jobType) { this.jobType = jobType.toString(); return this; } /** ** The user for the job. *
* * @param jobUser * The user for the job. */ public void setJobUser(String jobUser) { this.jobUser = jobUser; } /** ** The user for the job. *
* * @return The user for the job. */ public String getJobUser() { return this.jobUser; } /** ** The user for the job. *
* * @param jobUser * The user for the job. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBatchJobExecutionResult withJobUser(String jobUser) { setJobUser(jobUser); return this; } /** ** The batch job return code from either the Blu Age or Micro Focus runtime engines. For more information, see Batch return codes in the IBM * WebSphere Application Server documentation. *
* * @param returnCode * The batch job return code from either the Blu Age or Micro Focus runtime engines. For more information, * see Batch return codes * in the IBM WebSphere Application Server documentation. */ public void setReturnCode(String returnCode) { this.returnCode = returnCode; } /** ** The batch job return code from either the Blu Age or Micro Focus runtime engines. For more information, see Batch return codes in the IBM * WebSphere Application Server documentation. *
* * @return The batch job return code from either the Blu Age or Micro Focus runtime engines. For more information, * see Batch return codes * in the IBM WebSphere Application Server documentation. */ public String getReturnCode() { return this.returnCode; } /** ** The batch job return code from either the Blu Age or Micro Focus runtime engines. For more information, see Batch return codes in the IBM * WebSphere Application Server documentation. *
* * @param returnCode * The batch job return code from either the Blu Age or Micro Focus runtime engines. For more information, * see Batch return codes * in the IBM WebSphere Application Server documentation. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBatchJobExecutionResult withReturnCode(String returnCode) { setReturnCode(returnCode); return this; } /** ** The timestamp when the batch job execution started. *
* * @param startTime * The timestamp when the batch job execution started. */ public void setStartTime(java.util.Date startTime) { this.startTime = startTime; } /** ** The timestamp when the batch job execution started. *
* * @return The timestamp when the batch job execution started. */ public java.util.Date getStartTime() { return this.startTime; } /** ** The timestamp when the batch job execution started. *
* * @param startTime * The timestamp when the batch job execution started. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBatchJobExecutionResult withStartTime(java.util.Date startTime) { setStartTime(startTime); return this; } /** ** The status of the batch job execution. *
* * @param status * The status of the batch job execution. * @see BatchJobExecutionStatus */ public void setStatus(String status) { this.status = status; } /** ** The status of the batch job execution. *
* * @return The status of the batch job execution. * @see BatchJobExecutionStatus */ public String getStatus() { return this.status; } /** ** The status of the batch job execution. *
* * @param status * The status of the batch job execution. * @return Returns a reference to this object so that method calls can be chained together. * @see BatchJobExecutionStatus */ public GetBatchJobExecutionResult withStatus(String status) { setStatus(status); return this; } /** ** The status of the batch job execution. *
* * @param status * The status of the batch job execution. * @return Returns a reference to this object so that method calls can be chained together. * @see BatchJobExecutionStatus */ public GetBatchJobExecutionResult withStatus(BatchJobExecutionStatus status) { this.status = status.toString(); return this; } /** ** The reason for the reported status. *
* * @param statusReason * The reason for the reported status. */ public void setStatusReason(String statusReason) { this.statusReason = statusReason; } /** ** The reason for the reported status. *
* * @return The reason for the reported status. */ public String getStatusReason() { return this.statusReason; } /** ** The reason for the reported status. *
* * @param statusReason * The reason for the reported status. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBatchJobExecutionResult withStatusReason(String statusReason) { setStatusReason(statusReason); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getApplicationId() != null) sb.append("ApplicationId: ").append(getApplicationId()).append(","); if (getBatchJobIdentifier() != null) sb.append("BatchJobIdentifier: ").append(getBatchJobIdentifier()).append(","); if (getEndTime() != null) sb.append("EndTime: ").append(getEndTime()).append(","); if (getExecutionId() != null) sb.append("ExecutionId: ").append(getExecutionId()).append(","); if (getJobId() != null) sb.append("JobId: ").append(getJobId()).append(","); if (getJobName() != null) sb.append("JobName: ").append(getJobName()).append(","); if (getJobType() != null) sb.append("JobType: ").append(getJobType()).append(","); if (getJobUser() != null) sb.append("JobUser: ").append(getJobUser()).append(","); if (getReturnCode() != null) sb.append("ReturnCode: ").append(getReturnCode()).append(","); if (getStartTime() != null) sb.append("StartTime: ").append(getStartTime()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getStatusReason() != null) sb.append("StatusReason: ").append(getStatusReason()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetBatchJobExecutionResult == false) return false; GetBatchJobExecutionResult other = (GetBatchJobExecutionResult) obj; if (other.getApplicationId() == null ^ this.getApplicationId() == null) return false; if (other.getApplicationId() != null && other.getApplicationId().equals(this.getApplicationId()) == false) return false; if (other.getBatchJobIdentifier() == null ^ this.getBatchJobIdentifier() == null) return false; if (other.getBatchJobIdentifier() != null && other.getBatchJobIdentifier().equals(this.getBatchJobIdentifier()) == false) return false; if (other.getEndTime() == null ^ this.getEndTime() == null) return false; if (other.getEndTime() != null && other.getEndTime().equals(this.getEndTime()) == false) return false; if (other.getExecutionId() == null ^ this.getExecutionId() == null) return false; if (other.getExecutionId() != null && other.getExecutionId().equals(this.getExecutionId()) == false) return false; if (other.getJobId() == null ^ this.getJobId() == null) return false; if (other.getJobId() != null && other.getJobId().equals(this.getJobId()) == false) return false; if (other.getJobName() == null ^ this.getJobName() == null) return false; if (other.getJobName() != null && other.getJobName().equals(this.getJobName()) == false) return false; if (other.getJobType() == null ^ this.getJobType() == null) return false; if (other.getJobType() != null && other.getJobType().equals(this.getJobType()) == false) return false; if (other.getJobUser() == null ^ this.getJobUser() == null) return false; if (other.getJobUser() != null && other.getJobUser().equals(this.getJobUser()) == false) return false; if (other.getReturnCode() == null ^ this.getReturnCode() == null) return false; if (other.getReturnCode() != null && other.getReturnCode().equals(this.getReturnCode()) == false) return false; if (other.getStartTime() == null ^ this.getStartTime() == null) return false; if (other.getStartTime() != null && other.getStartTime().equals(this.getStartTime()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getStatusReason() == null ^ this.getStatusReason() == null) return false; if (other.getStatusReason() != null && other.getStatusReason().equals(this.getStatusReason()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getApplicationId() == null) ? 0 : getApplicationId().hashCode()); hashCode = prime * hashCode + ((getBatchJobIdentifier() == null) ? 0 : getBatchJobIdentifier().hashCode()); hashCode = prime * hashCode + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); hashCode = prime * hashCode + ((getExecutionId() == null) ? 0 : getExecutionId().hashCode()); hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); hashCode = prime * hashCode + ((getJobName() == null) ? 0 : getJobName().hashCode()); hashCode = prime * hashCode + ((getJobType() == null) ? 0 : getJobType().hashCode()); hashCode = prime * hashCode + ((getJobUser() == null) ? 0 : getJobUser().hashCode()); hashCode = prime * hashCode + ((getReturnCode() == null) ? 0 : getReturnCode().hashCode()); hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getStatusReason() == null) ? 0 : getStatusReason().hashCode()); return hashCode; } @Override public GetBatchJobExecutionResult clone() { try { return (GetBatchJobExecutionResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }