Package com.ourlinc.swift.exception

Examples of com.ourlinc.swift.exception.UnsupportedException


  }

  // get方法结束
  protected void genUniteId() {
    if (UniteId.nil != m_Id) {
      throw new UnsupportedException("不能重复初始化ID:" + m_Id);
    }
    m_Id = UniteId.valueOf(getPodi().getPersister(getClass()).getNewId());
    setPersistenceState(STATE_REINDEX | STATE_NEW);
  }
View Full Code Here


  }
 
  // 产生新的ID(用户ID作为前缀生成ID)
  protected void genUniteId() {
    if (UniteId.nil != m_Id){
      throw new UnsupportedException("不能重复初始化ID:" + m_Id);
    }
    //id是需要自己维护的,这个方法相当于数据库的id自增功能
    m_Id = UniteId.valueOf(getPodi().getPersister(getClass()).getNewId());
    // 标示要重做索引的状态及新创建(框架默认是会对id进行索引的)
    setPersistenceState(STATE_REINDEX | STATE_NEW);
View Full Code Here

  }

  protected void genUniteId() {
    if (UniteId.nil != m_Id) {
      throw new UnsupportedException("不能重复初始化ID:" + m_Id);
    }
    m_Id = UniteId.valueOf(getPodi().getPersister(getClass()).getNewId());
    setPersistenceState(STATE_REINDEX | STATE_NEW);
  }
View Full Code Here

  // get方法结束

  protected void genUniteId() {
    if (UniteId.nil != m_Id) {
      throw new UnsupportedException("不能重复初始化ID:" + m_Id);
    }
    m_Id = UniteId.valueOf(getPodi().getPersister(getClass()).getNewId());
    setPersistenceState(STATE_REINDEX | STATE_NEW);
  }
View Full Code Here

TOP

Related Classes of com.ourlinc.swift.exception.UnsupportedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.