vle.domain.cRater
Class CRaterRequest
java.lang.Object
vle.domain.PersistableDomain
vle.domain.cRater.CRaterRequest
public class CRaterRequest
- extends PersistableDomain
Domain representing CRaterRequests, pending and completed.
- Author:
- hirokiterashima, geoffreykwan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fromQuery
protected static String fromQuery
CRaterRequest
public CRaterRequest()
- Default constructor
CRaterRequest
public CRaterRequest(String cRaterItemId,
StepWork stepWork,
Long nodeStateId,
Long runId)
- Parameters:
cRaterItemId - stepWork - nodeStateId -
getObjectClass
protected Class<?> getObjectClass()
- Specified by:
getObjectClass in class PersistableDomain
- See Also:
PersistableDomain.getObjectClass()
getId
public Long getId()
- Returns:
- the id
setId
public void setId(Long id)
- Parameters:
id - the id to set
getcRaterItemId
public String getcRaterItemId()
- Returns:
- the cRaterItemId
setcRaterItemId
public void setcRaterItemId(String cRaterItemId)
- Parameters:
cRaterItemId - the cRaterItemId to set
getStepWork
public StepWork getStepWork()
- Returns:
- the stepWork
setStepWork
public void setStepWork(StepWork stepWork)
- Parameters:
stepWork - the stepWork to set
getNodeStateId
public Long getNodeStateId()
- Returns:
- the nodeStateId
setNodeStateId
public void setNodeStateId(Long nodeStateId)
- Parameters:
nodeStateId - the nodeStateId to set
getRunId
public Long getRunId()
- Returns:
- the runId
setRunId
public void setRunId(Long runId)
- Parameters:
runId - the runId to set
getTimeCreated
public Timestamp getTimeCreated()
- Returns:
- the timeCreated
setTimeCreated
public void setTimeCreated(Timestamp timeCreated)
- Parameters:
timeCreated - the timeCreated to set
getTimeCompleted
public Timestamp getTimeCompleted()
- Returns:
- the timeCompleted
setTimeCompleted
public void setTimeCompleted(Timestamp timeCompleted)
- Parameters:
timeCompleted - the timeCompleted to set
getFailCount
public int getFailCount()
- Returns:
- the failCount
setFailCount
public void setFailCount(int failCount)
- Parameters:
failCount - the failCount to set
getcRaterResponse
public String getcRaterResponse()
- Returns:
- the cRaterResponse
setcRaterResponse
public void setcRaterResponse(String cRaterResponse)
- Parameters:
cRaterResponse - the cRaterResponse to set
getByStepWorkIdNodeStateId
public static CRaterRequest getByStepWorkIdNodeStateId(StepWork stepWork,
Long nodeStateId)
- Returns a CRaterRequest for the specified StepWork and NodeStateId.
- Parameters:
stepWork - nodeStateId -
- Returns:
getIncompleteCRaterRequests
public static List<CRaterRequest> getIncompleteCRaterRequests()
- Returns a list of CRaterRequests that have not been completed.
- Returns:
Copyright © 2012. All Rights Reserved.