return e;
}
public class PlatformMapper implements RowMapper<Platform> {
public Platform mapRow(ResultSet rs, int rowNum) throws SQLException {
Platform p = new PlatformImpl();
p.setPlatformId(rs.getLong("platformId"));
p.setPlatformType(PlatformType.get(rs.getString("name")));
p.setDescription(rs.getString("description"));
p.setInstrumentModel(rs.getString("instrumentModel"));
p.setNumContainers(rs.getInt("numContainers"));
return p;
}