}
private static final class AccProfStatsMapper implements
RowMapper<ProfStats> {
public ProfStats mapRow(ResultSet rs, int rowNum) throws SQLException {
ProfStats profStats = new ProfStats();
profStats.setId(rs.getInt("id"));
profStats.setNom(rs.getString("nomProf"));
profStats.setPrenom(rs.getString("prenomProf"));
profStats.setCountap(rs.getInt("countap"));
profStats.setDctapvalide(rs.getInt("dctapvalide"));
profStats.setDctapattente(rs.getInt("dctapattente"));
profStats.setDctaprefuse(rs.getInt("dctaprefuse"));
return profStats;
}