Package com.cardence.lawshelf.model

Examples of com.cardence.lawshelf.model.Attribute


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

  private static final class AttributeMapper implements RowMapper<Attribute> {
    public Attribute mapRow(ResultSet rs, int rowNum) throws SQLException {
      Attribute attr = new Attribute();
      attr.setAttrKey(rs.getString("attr_key"));
      attr.setAttrValue(rs.getString("attr_value"));
      attr.setTableID(rs.getInt("tablerow_id"));
      attr.setTablename(rs.getString("tablename"));
      attr.setSource(rs.getString("source"));

      return attr;
    }
View Full Code Here

TOP

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

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.