@Entity(name="org.openurp.edu.base.model.Student") public class Student extends EducationBasedObject<Long> implements org.openurp.base.model.TemporalEntity
| Modifier and Type | Field and Description |
|---|---|
protected Date |
beginOn
学籍生效日期
|
protected Float |
duration
学制 学习年限(允许0.5年出现)1
|
protected Date |
endOn
学籍结束日期
|
protected Map<StdLabelType,StdLabel> |
labels
学生分类标签
|
protected org.openurp.people.base.model.Person |
person
基本信息
|
protected boolean |
registed
是否有学籍
|
protected String |
remark
备注
|
protected StudentState |
state
学籍状态日志
|
protected Set<StudentState> |
states
状态变化日志
|
protected StdType |
stdType
学生类别 所在项目内的学生类别
|
protected org.openurp.code.edu.model.StudyType |
studyType
学习形式 全日制/业余/函授
|
protected Teacher |
tutor
导师
|
protected org.openurp.base.model.User |
user
用户
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLabel(StdLabel label) |
void |
addLabels(StdLabel... labels) |
void |
addState(StudentState state) |
void |
clearLabels() |
Adminclass |
getAdminclass() |
Date |
getBeginOn() |
org.openurp.base.model.Campus |
getCampus() |
String |
getCode() |
org.openurp.base.model.Department |
getDepartment() |
Direction |
getDirection() |
Float |
getDuration() |
Date |
getEndOn() |
org.openurp.code.person.model.Gender |
getGender() |
String |
getGrade() |
Map<StdLabelType,StdLabel> |
getLabels() |
Major |
getMajor() |
String |
getName() |
org.openurp.people.base.model.Person |
getPerson() |
Program |
getProgram() |
String |
getRemark() |
StudentState |
getState() |
Set<StudentState> |
getStates() |
StdType |
getStdType() |
org.openurp.code.edu.model.StudyType |
getStudyType() |
Teacher |
getTutor() |
org.openurp.base.model.User |
getUser() |
boolean |
isRegisted() |
void |
pointCurrentState()
将学籍状态记录日志中的某个符合要求学籍状态记录置为当前学籍状态
|
void |
setBeginOn(Date beginOn) |
void |
setDuration(Float duration) |
void |
setEndOn(Date endOn) |
void |
setLabels(Map<StdLabelType,StdLabel> labels) |
void |
setPerson(org.openurp.people.base.model.Person person) |
void |
setRegisted(boolean registed) |
void |
setRemark(String remark) |
void |
setState(StudentState state) |
void |
setStates(Set<StudentState> states) |
void |
setStdType(StdType type) |
void |
setStudyType(org.openurp.code.edu.model.StudyType studyType) |
void |
setTutor(Teacher tutor) |
void |
setUser(org.openurp.base.model.User user) |
getEducation, setEducationgetProject, setProjectequals, getId, hashCode, isPersisted, isTransient, setIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetProject, setProject@NotNull protected org.openurp.base.model.User user
protected org.openurp.people.base.model.Person person
protected StdType stdType
protected StudentState state
protected Set<StudentState> states
protected Map<StdLabelType,StdLabel> labels
@NotNull protected Float duration
@NotNull protected boolean registed
@NotNull protected Date beginOn
@NotNull protected Date endOn
protected org.openurp.code.edu.model.StudyType studyType
protected Teacher tutor
@Size(max=2000) protected String remark
public Student()
public Student(Long id)
public Adminclass getAdminclass()
public org.openurp.base.model.Department getDepartment()
public Float getDuration()
public void setDuration(Float duration)
public org.openurp.code.person.model.Gender getGender()
public String getGrade()
public Major getMajor()
public Direction getDirection()
public String getName()
public String getCode()
public String getRemark()
public void setRemark(String remark)
public org.openurp.base.model.Campus getCampus()
public Date getBeginOn()
getBeginOn in interface org.openurp.base.model.TemporalEntitypublic void setBeginOn(Date beginOn)
setBeginOn in interface org.openurp.base.model.TemporalEntitypublic org.openurp.code.edu.model.StudyType getStudyType()
public void setStudyType(org.openurp.code.edu.model.StudyType studyType)
public Date getEndOn()
getEndOn in interface org.openurp.base.model.TemporalEntitypublic void setEndOn(Date endOn)
setEndOn in interface org.openurp.base.model.TemporalEntitypublic StdType getStdType()
public void setStdType(StdType type)
public void addLabel(StdLabel label)
public void addLabels(StdLabel... labels)
public void clearLabels()
public Map<StdLabelType,StdLabel> getLabels()
public void setLabels(Map<StdLabelType,StdLabel> labels)
public StudentState getState()
public void setState(StudentState state)
public void pointCurrentState()
throws Exception
Exceptionpublic void addState(StudentState state)
public Set<StudentState> getStates()
public void setStates(Set<StudentState> states)
public boolean isRegisted()
public void setRegisted(boolean registed)
public org.openurp.people.base.model.Person getPerson()
public void setPerson(org.openurp.people.base.model.Person person)
public Teacher getTutor()
public void setTutor(Teacher tutor)
public Program getProgram()
public org.openurp.base.model.User getUser()
public void setUser(org.openurp.base.model.User user)
Copyright © 2005–2018 The OpenURP Software. All rights reserved.