类 Course

java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<T>
org.beangle.commons.entity.pojo.NumberIdTimeObject<ID>
org.openurp.base.edu.model.ProjectBasedObject<Long>
org.openurp.base.edu.model.Course
所有已实现的接口:
Serializable, Comparable<Course>, org.beangle.commons.entity.Entity<Long>, org.beangle.commons.entity.TimeEntity, ProjectBasedEntity<Long>

@Entity(name="org.openurp.base.edu.model.Course") public class Course extends ProjectBasedObject<Long> implements Comparable<Course>
课程基本信息
从以下版本开始:
2008-09-24
另请参阅:
  • 字段详细资料

    • code

      @NotNull @Size(max=32) protected String code
      课程代码
    • name

      @NotNull @Size(max=255) protected String name
      课程名称
    • enName

      @Size(max=300) protected String enName
      课程英文名
    • remark

      @Size(max=500) protected String remark
      课程备注
  • 构造器详细资料

    • Course

      public Course()
    • Course

      public Course(Long id)
  • 方法详细资料

    • getBeginOn

      public Date getBeginOn()
    • setBeginOn

      public void setBeginOn(Date beginOn)
    • getEndOn

      public Date getEndOn()
    • setEndOn

      public void setEndOn(Date endOn)
    • getCode

      public String getCode()
    • setCode

      public void setCode(String code)
    • getCredits

      public float getCredits()
    • setCredits

      public void setCredits(float credits)
    • getEnName

      public String getEnName()
    • setEnName

      public void setEnName(String enName)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getRemark

      public String getRemark()
    • setRemark

      public void setRemark(String remark)
    • compareTo

      public int compareTo(Course other)
      指定者:
      compareTo 在接口中 Comparable<Course>
    • getCreditHours

      public int getCreditHours()
    • setCreditHours

      public void setCreditHours(int creditHours)
    • getWeekHours

      public int getWeekHours()
    • setWeekHours

      public void setWeekHours(int weekHours)
    • getWeeks

      public Integer getWeeks()
    • setWeeks

      public void setWeeks(Integer weeks)
    • getDepartment

      public Department getDepartment()
    • setDepartment

      public void setDepartment(Department department)
    • getCourseType

      public CourseType getCourseType()
    • setCourseType

      public void setCourseType(CourseType courseType)
    • getExamMode

      public ExamMode getExamMode()
    • setExamMode

      public void setExamMode(ExamMode examMode)
    • getAbilityRates

      public Set<CourseAbilityRate> getAbilityRates()
    • setAbilityRates

      public void setAbilityRates(Set<CourseAbilityRate> abilityRates)
    • getMajors

      public Set<Major> getMajors()
    • setMajors

      public void setMajors(Set<Major> majors)
    • getXmajors

      public Set<Major> getXmajors()
    • setXmajors

      public void setXmajors(Set<Major> xmajors)
    • getTextbooks

      public Set<Textbook> getTextbooks()
    • setTextbooks

      public void setTextbooks(Set<Textbook> textbooks)
    • getCreditHourString

      public String getCreditHourString()
    • getHour

      public Integer getHour(TeachingNature type)
    • getHourById

      public Integer getHourById(Integer typeId)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • getHours

      public List<CourseHour> getHours()
    • setHours

      public void setHours(List<CourseHour> courseHours)
    • getLevels

      public Set<AcademicLevel> getLevels()
    • setLevels

      public void setLevels(Set<AcademicLevel> levels)
    • getGradingModes

      public Set<GradingMode> getGradingModes()
    • setGradingModes

      public void setGradingModes(Set<GradingMode> gradingModes)
    • isEnabled

      public boolean isEnabled()
    • validIn

      public boolean validIn(Date from, Date to)
    • isHasMakeup

      public boolean isHasMakeup()
    • setHasMakeup

      public void setHasMakeup(boolean hasMakeup)
    • isPractical

      public boolean isPractical()
    • getNature

      public CourseNature getNature()
    • setNature

      public void setNature(CourseNature nature)
    • setEnabled

      public void setEnabled(boolean e)
    • getCategory

      public CourseCategory getCategory()
    • setCategory

      public void setCategory(CourseCategory category)
    • isCalgp

      public boolean isCalgp()
    • setCalgp

      public void setCalgp(boolean calgp)