Package org.openurp.code.edu.model
Class ExamStatus
java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<T>
org.beangle.commons.entity.pojo.Code<Integer>
org.openurp.code.edu.model.ExamStatus
- All Implemented Interfaces:
Serializable,Comparable<Object>,org.beangle.commons.entity.Entity<Integer>,org.beangle.commons.entity.TemporalOn
@Entity(name="org.openurp.code.edu.model.ExamStatus") public class ExamStatus extends org.beangle.commons.entity.pojo.Code<Integer>
考试情况
正常、作弊、旷考等
- Since:
- 2005-9-7
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static IntegerABSENTstatic IntegerDELAYstatic IntegerNORMAL正常static IntegerUnqualifiedFields inherited from class org.beangle.commons.entity.pojo.Code
beginOn, code, endOn, enName, name, updatedAtFields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors Constructor Description ExamStatus()ExamStatus(Integer id) -
Method Summary
Modifier and Type Method Description booleanisAttended()booleanisCheating()booleanisHasDeferred()voidsetAttended(boolean attend)voidsetCheating(boolean cheating)voidsetHasDeferred(boolean hasDeferred)Methods inherited from class org.beangle.commons.entity.pojo.Code
compareTo, getBeginOn, getCode, getEndOn, getEnName, getName, getUpdatedAt, hasExtPros, setBeginOn, setCode, setEndOn, setEnName, setName, setUpdatedAt, toStringMethods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setId
-
Field Details
-
NORMAL
正常 -
DELAY
-
ABSENT
-
Unqualified
-
-
Constructor Details
-
ExamStatus
public ExamStatus() -
ExamStatus
-
-
Method Details
-
isAttended
public boolean isAttended() -
setAttended
public void setAttended(boolean attend) -
isHasDeferred
public boolean isHasDeferred() -
setHasDeferred
public void setHasDeferred(boolean hasDeferred) -
isCheating
public boolean isCheating() -
setCheating
public void setCheating(boolean cheating)
-