Package org.openurp.edu.clazz.model
Class Clazz
java.lang.Object
- All Implemented Interfaces:
Serializable,Cloneable,org.beangle.commons.entity.Entity<Long>,org.beangle.commons.entity.TimeEntity,ProjectBasedEntity<Long>
@Entity(name="org.openurp.edu.clazz.model.Clazz")
public class Clazz
extends ProjectBasedObject<Long>
implements Cloneable
教学任务
- Since:
- 2005-10-16
- See Also:
-
Field Summary
Fields inherited from class org.beangle.commons.entity.pojo.NumberIdTimeObject
updatedAtFields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()id为null 课程序号为nullgetCrn()static Clazz得到第一次上课时间getGroup()得到最后一次上课时间getTags()获得上课教师名称获得上课教师名称booleanvoidvoidsetClazzName(String clazzName) voidvoidsetCourseType(CourseType courseType) voidvoidsetEnrollment(Enrollment enrollment) voidsetExamMode(ExamMode examMode) voidsetGroup(ClazzGroup group) voidsetHasMakeup(boolean hasMakeup) voidsetLangType(TeachLangType langType) voidvoidvoidsetSchedule(Schedule schedule) voidsetSemester(Semester semester) voidsetStatus(AuditStatus status) voidsetSubject(String subject) voidvoidsetTeachDepart(Department teachDepart) voidsetTeachers(List<Teacher> teachers) toString()Methods inherited from class org.openurp.base.edu.model.ProjectBasedObject
getProject, setProjectMethods inherited from class org.beangle.commons.entity.pojo.NumberIdTimeObject
getUpdatedAt, setUpdatedAtMethods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.beangle.commons.entity.Entity
getId, isPersisted, isTransient, setIdMethods inherited from interface org.beangle.commons.entity.TimeEntity
getUpdatedAt, setUpdatedAt
-
Constructor Details
-
Clazz
public Clazz()默认构造函数 -
Clazz
-
-
Method Details
-
getDefault
-
getFirstCourseTime
得到第一次上课时间- Returns:
-
getLastCourseTime
得到最后一次上课时间- Returns:
-
getSemester
- Returns:
- Returns the semester.
-
setSemester
- Parameters:
semester- The semester to set.
-
getCourse
- Returns:
- Returns the course.
-
setCourse
- Parameters:
course- The course to set.
-
getCrn
-
setCrn
-
getCourseType
- Returns:
- Returns the courseType.
-
setCourseType
- Parameters:
courseType- The courseType to set.
-
getEnrollment
-
setEnrollment
-
getRemark
-
setRemark
-
toString
-
getSchedule
-
setSchedule
-
getTeachers
-
setTeachers
-
getCampus
-
setCampus
-
getTeacherNames
获得上课教师名称- Returns:
-
getTeacherNamesWithCode
获得上课教师名称- Returns:
-
getTeachDepart
-
setTeachDepart
-
getLangType
-
setLangType
-
getTags
-
setTags
-
getGroup
-
setGroup
-
getStatus
-
setStatus
-
getClazzName
-
setClazzName
-
clone
id为null 课程序号为null -
getSubject
-
setSubject
-
getExamMode
-
setExamMode
-
isHasMakeup
public boolean isHasMakeup() -
setHasMakeup
public void setHasMakeup(boolean hasMakeup) -
getPlanId
-
setPlanId
-