private Group parseGroupResult(ResultSet resultSet) throws SQLException, AdeInternalException {
  int uid=resultSet.getInt("GROUP_INTERNAL_ID");
  String name=resultSet.getString("GROUP_NAME");
  Short groupTypeVal=resultSet.getShort("GROUP_TYPE");
  GroupType groupType=GroupType.getGroupType(groupTypeVal);
  Short dataTypeVal=resultSet.getShort("DATA_TYPE");
  DataType dataType=DataType.getDataType(dataTypeVal);
  short evaluationOrder=resultSet.getShort("EVALUATION_ORDER");
  int rid=resultSet.getInt("RULE_INTERNAL_ID");
  String ruleName=getRuleName(rid);
  return new Group(uid,name,groupType,dataType,evaluationOrder,ruleName);
}

private Group parseGroupResult ( ResultSet resultSet ) throws SQLException , AdeInternalException { int uid = resultSet . getInt ( "GROUP_INTERNAL_ID" ) ; String name = resultSet . getString ( "GROUP_NAME" ) ; Short groupTypeVal = resultSet . getShort ( "GROUP_TYPE" ) ; GroupType groupType = GroupType . getGroupType ( groupTypeVal ) ; Short dataTypeVal = resultSet . getShort ( "DATA_TYPE" ) ; DataType dataType = DataType . getDataType ( dataTypeVal ) ; short evaluationOrder = resultSet . getShort ( "EVALUATION_ORDER" ) ; int rid = resultSet . getInt ( "RULE_INTERNAL_ID" ) ; String ruleName = getRuleName ( rid ) ; return new Group ( uid , name , groupType , dataType , evaluationOrder , ruleName ) ; }
helper method for parsing the group results from a resultset object .
