类 Session

java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<Long>
org.beangle.commons.entity.pojo.LongIdObject
org.openurp.edu.clazz.model.Session
所有已实现的接口:
Serializable, Comparable<Session>, org.beangle.commons.entity.Entity<Long>

@Entity(name="org.openurp.edu.clazz.model.Session") public class Session extends org.beangle.commons.entity.pojo.LongIdObject implements Comparable<Session>
教学活动
从以下版本开始:
2005-11-22
另请参阅:
  • 字段详细资料

    • clazz

      @NotNull protected Clazz clazz
      教学任务
    • time

      protected org.beangle.orm.hibernate.udt.WeekTime time
      上课时间
    • teachingNature

      @NotNull protected TeachingNature teachingNature
      授课性质
    • teachingMethod

      @NotNull protected TeachingMethod teachingMethod
      授课方式
  • 构造器详细资料

    • Session

      public Session()
    • Session

      public Session(Teacher teacher, Classroom room, org.beangle.orm.hibernate.udt.WeekTime time)
  • 方法详细资料

    • getFirstActivityTime

      public Date getFirstActivityTime()
      第一次活动时间
      返回:
    • getLastActivityTime

      public Date getLastActivityTime()
      最后一次活动时间
      返回:
    • clone

      public Object clone()
      覆盖:
      clone 在类中 Object
    • canMergerWith

      public boolean canMergerWith(Session session)
      判断该教学活动的时间段能否与目标教学活动在[相邻时间段]上合并
      返回:
    • mergeWith

      public void mergeWith(Session other)
      将两排课活动合并,前提是两活动可以合并
      参数:
      other -
      另请参阅:
    • mergeActivites

      public static List<Session> mergeActivites(List<Session> tobeMerged)
      合并在年份和教学周占用上,可以合并的教学活动
      合并标准是年份,教学周,教室,教师,星期
    • compareTo

      public int compareTo(Session session)
      teacher room weekday startUnit weekstate null will be put first,if another is not null
      指定者:
      compareTo 在接口中 Comparable<Session>
      另请参阅:
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
      另请参阅:
    • getClazz

      public Clazz getClazz()
      返回:
      Returns the clazz.
    • setClazz

      public void setClazz(Clazz clazz)
    • getTeachers

      public Set<Teacher> getTeachers()
    • setTeachers

      public void setTeachers(Set<Teacher> teachers)
    • getRooms

      public Set<Classroom> getRooms()
    • setRooms

      public void setRooms(Set<Classroom> rooms)
    • getTime

      public org.beangle.orm.hibernate.udt.WeekTime getTime()
    • setTime

      public void setTime(org.beangle.orm.hibernate.udt.WeekTime time)
    • getBeginAt

      public Date getBeginAt()
    • getEndAt

      public Date getEndAt()
    • contains

      public boolean contains(Date oneDay)
    • getContent

      public String getContent()
    • getPlaces

      public String getPlaces()
    • setPlaces

      public void setPlaces(String places)
    • getTeachingNature

      public TeachingNature getTeachingNature()
    • setTeachingNature

      public void setTeachingNature(TeachingNature teachingNature)
    • getTeachingMethod

      public TeachingMethod getTeachingMethod()
    • setTeachingMethod

      public void setTeachingMethod(TeachingMethod teachingMethod)
    • getSubclazz

      public Subclazz getSubclazz()
    • setSubclazz

      public void setSubclazz(Subclazz subclazz)