@Entity public class GeneralSingleWorker 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 |
---|
GeneralSingleWorker() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateConfirmationCode() |
java.lang.String |
getUIWorkerType() |
java.lang.String |
getWorkerType() |
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 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