コード例 #1
0
 @Override
 public long create(QNameFilter filter) {
   Long id = super.create(filter);
   filter.setId(id);
   insertQnames(filter);
   return id;
 }
コード例 #2
0
 public QNameFilter mapRow(ResultSet rs, int rowNum) throws SQLException {
   QNameFilter filter = new QNameFilter();
   filter.setId(rs.getLong("id"));
   filter.setName(rs.getString("name"));
   filter.setWorkspaceId(rs.getLong("workspace_id"));
   return filter;
 }