/** * Loads the FID, MID, and flag value from the result set into the bean. * * @param rs * @param p * @throws SQLException */ private void loadCommon(ResultSet rs, FlagsBean p) throws SQLException { p.setFid(rs.getLong("FID")); p.setMid(rs.getLong("MID")); p.setFlagValue(FlagValue.valueOf(rs.getString("flagValue"))); p.setFlagged(true); // if this record is found, this is true }