类 CoursePrefixSeqNoGeneratorImpl

java.lang.Object
org.beangle.orm.hibernate.HibernateEntityDao
org.openurp.edu.clazz.dao.hibernate.internal.CoursePrefixSeqNoGeneratorImpl
所有已实现的接口:
org.beangle.commons.dao.EntityDao, ClazzCRNGenerator

public class CoursePrefixSeqNoGeneratorImpl extends org.beangle.orm.hibernate.HibernateEntityDao implements ClazzCRNGenerator
课程代码为前缀,后边加上两位序号的编码方式
从以下版本开始:
2011-09-23
  • 嵌套类概要

    从类继承的嵌套类/接口 org.beangle.orm.hibernate.HibernateEntityDao

    org.beangle.orm.hibernate.HibernateEntityDao.QuerySupport
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final String
     

    从类继承的字段 org.beangle.orm.hibernate.HibernateEntityDao

    logger, modelMeta, sessionFactory
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected int
    gap(String a, String b)
     
    void
    依照教学任务的教学日历和学生类别进行生成序号
    void
    为一组任务生成课程序号
    protected void
    genClazzSeqNos(Collection<Clazz> clazzes, String prefix, List<String> seqNos)
    针对一批课程生成课程序号 FIXME 需要测试
     
    protected String
    根据任务确定前缀
    protected String
     
    void
     

    从类继承的方法 org.beangle.orm.hibernate.HibernateEntityDao

    count, count, count, createBlob, createBlob, createClob, duplicate, duplicate, evict, execute, execute, executeUpdate, executeUpdate, executeUpdateRepeatly, exist, exist, exist, get, get, get, get, get, get, get, get, get, getAll, getSession, initialize, refresh, remove, remove, remove, remove, remove, save, saveOrUpdate, saveOrUpdate, saveOrUpdate, saveOrUpdate, search, search, search, search, search, setModelMeta, setSessionFactory, uniqueResult, update, update

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

  • 构造器详细资料

    • CoursePrefixSeqNoGeneratorImpl

      public CoursePrefixSeqNoGeneratorImpl()
  • 方法详细资料

    • genClazzSeqNo

      public void genClazzSeqNo(Clazz clazz)
      从接口复制的说明: ClazzCRNGenerator
      依照教学任务的教学日历和学生类别进行生成序号
      指定者:
      genClazzSeqNo 在接口中 ClazzCRNGenerator
    • gap

      protected int gap(String a, String b)
    • rollUp

      protected String rollUp(String a)
    • genClazzSeqNos

      public void genClazzSeqNos(Collection<Clazz> clazzes)
      从接口复制的说明: ClazzCRNGenerator
      为一组任务生成课程序号
      指定者:
      genClazzSeqNos 在接口中 ClazzCRNGenerator
    • genClazzSeqNos

      protected void genClazzSeqNos(Collection<Clazz> clazzes, String prefix, List<String> seqNos)
      针对一批课程生成课程序号 FIXME 需要测试
      参数:
      clazzes - 带生成序号的课程
      prefix - 前缀
      seqNos - 已有的序号
    • getPrefix

      protected String getPrefix(Clazz clazz)
      根据任务确定前缀
      参数:
      clazz -
      返回:
    • getInfix

      public String getInfix()
    • setInfix

      public void setInfix(String infix)