@Entity public class PersonalSingleWorker extends Worker
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMENT |
static java.lang.String |
UI_WORKER_TYPE |
static java.lang.String |
WORKER_TYPE |
DISCRIMINATOR
Constructor and Description |
---|
PersonalSingleWorker() |
PersonalSingleWorker(java.lang.String comment) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateConfirmationCode() |
java.lang.String |
getComment() |
java.lang.String |
getUIWorkerType() |
java.lang.String |
getWorkerType() |
void |
setComment(java.lang.String comment) |
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 static final java.lang.String COMMENT
public PersonalSingleWorker()
public PersonalSingleWorker(java.lang.String comment)
public void setComment(java.lang.String comment)
public java.lang.String getComment()
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