Package com.cardence.lawshelf.model

Examples of com.cardence.lawshelf.model.CodeAlias


  // private static final String SQL_DELETE_ATTR =
  // "delete from attribute where tablename = ? and tablerow_id = ?";

  private static final class AliasMapper implements RowMapper<CodeAlias> {
    public CodeAlias mapRow(ResultSet rs, int rowNum) throws SQLException {
      CodeAlias alias = new CodeAlias();
      alias.setAliasname(rs.getString("aliasname"));
      alias.setCodeId(rs.getInt("code_id"));

      return alias;
    }
View Full Code Here


      return;
    }
    assert code.getId() != null : "code id cannot be null";

    for (Iterator<String> it = code.getAliases().iterator(); it.hasNext();) {
      CodeAlias ca = new CodeAlias();
      ca.setAliasname(it.next());
      ca.setCode(code);
      ca.setCodeId(code.getId());
      this.codeAliasDao.createAlias(ca);
    }
  }
View Full Code Here

TOP

Related Classes of com.cardence.lawshelf.model.CodeAlias

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.