@Entity public class JatosWorker extends Worker
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UI_WORKER_TYPE |
static java.lang.String |
WORKER_TYPE |
DISCRIMINATOR
Constructor and Description |
---|
JatosWorker() |
JatosWorker(User user) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateConfirmationCode() |
java.lang.String |
getUIWorkerType() |
User |
getUser() |
java.lang.String |
getWorkerType() |
void |
setUser(User user) |
java.util.List<play.data.validation.ValidationError> |
validate() |
addBatch, addStudyResult, equals, getBatchList, getFirstStudyResult, getId, getLastStudyResult, getStudyResultList, getUIWorkerType, hasBatch, hashCode, removeBatch, removeStudyResult, setBatchList, setId, setStudyResultList, toString
public static final java.lang.String WORKER_TYPE
public static final java.lang.String UI_WORKER_TYPE
public JatosWorker()
public JatosWorker(User user)
public void setUser(User user)
public User getUser()
public java.lang.String getWorkerType()
getWorkerType
in class Worker
public java.lang.String getUIWorkerType()
getUIWorkerType
in class Worker
public java.lang.String generateConfirmationCode()
generateConfirmationCode
in class Worker