private List dbToOrganoVOList(final ResultSet resultSet) throws SQLException {
  List ltOrganos=new ArrayList();
  OrganizationOrganoVOImpl organo=null;
  if (resultSet != null) {
    while (resultSet.next()) {
      organo=new OrganizationOrganoVOImpl();
      organo.setId(resultSet.getString(COL_ID));
      organo.setCodigo(resultSet.getString(COL_CODIGO));
      organo.setNombre(resultSet.getString(COL_NOMBRE));
      organo.setNivel(resultSet.getInt(COL_NIVEL));
      organo.setIdPadre(resultSet.getString(COL_ID_ORG_PADRE));
      ltOrganos.add(organo);
    }
  }
  return ltOrganos;
}

private List dbToOrganoVOList ( final ResultSet resultSet ) throws SQLException { List ltOrganos = new ArrayList ( ) ; OrganizationOrganoVOImpl organo = null ; if ( resultSet != null ) { while ( resultSet . next ( ) ) { organo = new OrganizationOrganoVOImpl ( ) ; organo . setId ( resultSet . getString ( COL_ID ) ) ; organo . setCodigo ( resultSet . getString ( COL_CODIGO ) ) ; organo . setNombre ( resultSet . getString ( COL_NOMBRE ) ) ; organo . setNivel ( resultSet . getInt ( COL_NIVEL ) ) ; organo . setIdPadre ( resultSet . getString ( COL_ID_ORG_PADRE ) ) ; ltOrganos . add ( organo ) ; } } return ltOrganos ; }
transforma el resultado de una consulta en una lista de organos
