fr.cnes.sitools.form.project.services.business
Class DataSetCounterJobStatus

java.lang.Object
  extended by fr.cnes.sitools.form.project.services.business.DataSetCounterJobStatus

public class DataSetCounterJobStatus
extends java.lang.Object

Class to represent a Job Status during a Job of DataSet count

Author:
m.gond

Constructor Summary
DataSetCounterJobStatus(boolean success, DataSetQueryStatusDTO jobResult)
          Constructor with success and JobResult, Id is generated
DataSetCounterJobStatus(java.lang.String jobId, boolean success, DataSetQueryStatusDTO jobResult)
          Constructor with JobId, success and result
 
Method Summary
 java.lang.String getJobId()
          Gets the jobId value
 DataSetQueryStatusDTO getResult()
          Gets the result value
 boolean isSuccess()
          Gets the success value
 void setJobId(java.lang.String jobId)
          Sets the value of jobId
 void setResult(DataSetQueryStatusDTO result)
          Sets the value of result
 void setSuccess(boolean success)
          Sets the value of success
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSetCounterJobStatus

public DataSetCounterJobStatus(java.lang.String jobId,
                               boolean success,
                               DataSetQueryStatusDTO jobResult)
Constructor with JobId, success and result

Parameters:
jobId - the id of the Job
success - the success of the Job
jobResult - the result of the Job

DataSetCounterJobStatus

public DataSetCounterJobStatus(boolean success,
                               DataSetQueryStatusDTO jobResult)
Constructor with success and JobResult, Id is generated

Parameters:
success - the success of the Job
jobResult - the result of the Job
Method Detail

getJobId

public java.lang.String getJobId()
Gets the jobId value

Returns:
the jobId

setJobId

public void setJobId(java.lang.String jobId)
Sets the value of jobId

Parameters:
jobId - the jobId to set

isSuccess

public boolean isSuccess()
Gets the success value

Returns:
the success

setSuccess

public void setSuccess(boolean success)
Sets the value of success

Parameters:
success - the success to set

setResult

public void setResult(DataSetQueryStatusDTO result)
Sets the value of result

Parameters:
result - the result to set

getResult

public DataSetQueryStatusDTO getResult()
Gets the result value

Returns:
the result


Copyright © 2010-2013 CNES. All Rights Reserved.