@Entity(name="org.openurp.edu.course.model.CourseTaker") public class CourseTaker extends org.openurp.base.model.NumberIdTimeObject<Long> implements Cloneable, Comparable<CourseTaker>
| Constructor and Description |
|---|
CourseTaker() |
CourseTaker(Clazz task,
Student student,
CourseTakeType courseTakeType) |
CourseTaker(Long takerId) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
compareTo(CourseTaker other) |
boolean |
equals(Object object) |
Clazz |
getClazz() |
Course |
getCourse() |
ElectionMode |
getElectionMode() |
String |
getRemark() |
Restriction |
getRestriction() |
org.openurp.base.model.Semester |
getSemester() |
Student |
getStd() |
CourseTakeType |
getTakeType() |
int |
hashCode() |
boolean |
isFreeListening() |
boolean |
isSubstitution() |
void |
setClazz(Clazz task) |
void |
setCourse(Course course) |
void |
setElectionMode(ElectionMode electionMode) |
void |
setFreeListening(boolean freeListening) |
void |
setRemark(String remark) |
void |
setRestriction(Restriction limitGroup) |
void |
setSemester(org.openurp.base.model.Semester semester) |
void |
setStd(Student std) |
void |
setSubstitution(boolean substitution) |
void |
setTakeType(CourseTakeType courseTakeType) |
public CourseTaker()
public CourseTaker(Long takerId)
public CourseTaker(Clazz task, Student student, CourseTakeType courseTakeType)
public Object clone()
clone in class ObjectObject.clone()public org.openurp.base.model.Semester getSemester()
public void setSemester(org.openurp.base.model.Semester semester)
public CourseTakeType getTakeType()
public void setTakeType(CourseTakeType courseTakeType)
takeType - The takeType to set.public Student getStd()
public void setStd(Student std)
public Clazz getClazz()
public void setClazz(Clazz task)
public Course getCourse()
public void setCourse(Course course)
public boolean equals(Object object)
equals in class org.beangle.commons.entity.pojo.NumberIdObject<Long>public int hashCode()
hashCode in class org.beangle.commons.entity.pojo.NumberIdObject<Long>Object.hashCode()public int compareTo(CourseTaker other)
compareTo in interface Comparable<CourseTaker>Comparable.compareTo(Object)public String getRemark()
public void setRemark(String remark)
public ElectionMode getElectionMode()
public void setElectionMode(ElectionMode electionMode)
public boolean isFreeListening()
public void setFreeListening(boolean freeListening)
public Restriction getRestriction()
public void setRestriction(Restriction limitGroup)
public boolean isSubstitution()
public void setSubstitution(boolean substitution)
Copyright © 2005–2018 The OpenURP Software. All rights reserved.