Package es.caib.bpm.vo
Class Job
- java.lang.Object
-
- es.caib.bpm.vo.Job
-
- All Implemented Interfaces:
Serializable
public class Job extends Object implements Serializable
ValueObject Job- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getDueDate()
Gets value for attribute dueDateString
getErrorMessage()
Gets value for attribute errorMessageint
getFailures()
Gets value for attribute failureslong
getId()
Gets value for attribute idString
getName()
Gets value for attribute namelong
getProcessId()
Gets value for attribute processIdboolean
isError()
Gets value for attribute errorboolean
isLocked()
Gets value for attribute lockedboolean
isPaused()
Gets value for attribute pausedvoid
setDueDate(Date dueDate)
Sets value for attribute dueDatevoid
setError(boolean error)
Sets value for attribute errorvoid
setErrorMessage(String errorMessage)
Sets value for attribute errorMessagevoid
setFailures(int failures)
Sets value for attribute failuresvoid
setId(long id)
Sets value for attribute idvoid
setLocked(boolean locked)
Sets value for attribute lockedvoid
setName(String name)
Sets value for attribute namevoid
setPaused(boolean paused)
Sets value for attribute pausedvoid
setProcessId(long processId)
Sets value for attribute processIdstatic Job
toJob(Job vo)
Creates a Job value object based on a Job object.static void
toJob(Job source, Job target)
Updates a Job value object based on a Job object.static Job[]
toJobArray(Job[] source)
Creates a Job array on a Job array.static AsyncList<Job>
toJobAsyncList(AsyncList<Job> source)
Creates a Job asynclist on a Job collection.static PagedResult<Job>
toJobList(PagedResult<Job> source)
Creates a Job pagedResult on a Job collection.static List<Job>
toJobList(Collection<Job> source)
Creates a Job list on a Job collection.String
toString()
Returns a string representation of the value object.
-
-
-
Method Detail
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
getId
public long getId()
Gets value for attribute id
-
setId
public void setId(long id)
Sets value for attribute id
-
getDueDate
public Date getDueDate()
Gets value for attribute dueDate
-
setDueDate
public void setDueDate(Date dueDate)
Sets value for attribute dueDate
-
isLocked
public boolean isLocked()
Gets value for attribute locked
-
setLocked
public void setLocked(boolean locked)
Sets value for attribute locked
-
getErrorMessage
public String getErrorMessage()
Gets value for attribute errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
Sets value for attribute errorMessage
-
isError
public boolean isError()
Gets value for attribute error
-
setError
public void setError(boolean error)
Sets value for attribute error
-
getFailures
public int getFailures()
Gets value for attribute failures
-
setFailures
public void setFailures(int failures)
Sets value for attribute failures
-
isPaused
public boolean isPaused()
Gets value for attribute paused
-
setPaused
public void setPaused(boolean paused)
Sets value for attribute paused
-
getProcessId
public long getProcessId()
Gets value for attribute processId
-
setProcessId
public void setProcessId(long processId)
Sets value for attribute processId
-
toString
public String toString()
Returns a string representation of the value object.
-
toJobList
public static List<Job> toJobList(Collection<Job> source)
Creates a Job list on a Job collection.
-
toJobList
public static PagedResult<Job> toJobList(PagedResult<Job> source)
Creates a Job pagedResult on a Job collection.
-
toJobAsyncList
public static AsyncList<Job> toJobAsyncList(AsyncList<Job> source)
Creates a Job asynclist on a Job collection.
-
-