openamf/src/java/org/openamf/recordset ASRecordSet.java,1.6,1.7

[email protected]
Newsgroups gmane.comp.java.openamf.cvs
Message-ID <[email protected]>
Update of /cvsroot/openamf/openamf/src/java/org/openamf/recordset
In directory sc8-pr-cvs1:/tmp/cvs-serv25212/src/java/org/openamf/recordset

Modified Files:
	ASRecordSet.java 
Log Message:
added service name constant

Index: ASRecordSet.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/recordset/ASRecordSet.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ASRecordSet.java	27 Apr 2003 01:46:46 -0000	1.6
--- ASRecordSet.java	28 Apr 2003 06:03:09 -0000	1.7
***************
*** 12,15 ****
--- 12,17 ----
  public class ASRecordSet extends ASObject {
  	
+ 	public static final String SERVICE_NAME = "OpenAMFPageableRecordSet";
+ 
  	private static final String SI = "serverInfo";
  	private static final String SI_ID = "id";
***************
*** 28,32 ****
  		put(SI, serverInfo);
  		setId("RS" + String.valueOf(this.hashCode()));
! 		setServiceName("PageableResult");
  		setCursor(1);
  		setVersion(1);
--- 30,34 ----
  		put(SI, serverInfo);
  		setId("RS" + String.valueOf(this.hashCode()));
! 		setServiceName(SERVICE_NAME);
  		setCursor(1);
  		setVersion(1);
***************
*** 109,117 ****
  				rowIndex++;
  				ArrayList row = new ArrayList();
! 				for (int i = 0; i < columnCount; i++) {
  					if (rowIndex == 1) {
! 						columnNames[i] = rsmd.getColumnName(i+1);
  					}
! 					row.add(rs.getObject(i+1));
  				}
  				if (rowIndex == 1) {
--- 111,119 ----
  				rowIndex++;
  				ArrayList row = new ArrayList();
! 				for (int column = 0; column < columnCount; column++) {
  					if (rowIndex == 1) {
! 						columnNames[column] = rsmd.getColumnName(column+1);
  					}
! 					row.add(rs.getObject(column+1));
  				}
  				if (rowIndex == 1) {




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.