Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* GRANITE DATA SERVICES
* Copyright (C) 2006-2013 GRANITE DATA SERVICES S.A.S.
*
* This file is part of the Granite Data Services Platform.
*
* Granite Data Services is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Granite Data Services is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
* USA, or see .
*/
/**
* www.openamf.org
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package flex.messaging.io;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.granite.logging.Logger;
import org.granite.util.Introspector;
import org.granite.util.PropertyDescriptor;
/**
* @author Jason Calabrese
* @version $Revision: 1.29 $, $Date: 2006/03/25 22:17:44 $
*/
public class ASRecordSet extends ASObject {
private static final long serialVersionUID = 1L;
private static final Logger log = Logger.getLogger(ASRecordSet.class);
public static final String SERVICE_NAME = "OpenAMFPageableRecordSet";
private static final String SI = "serverInfo";
private static final String SI_ID = "id";
private static final String SI_TOTAL_COUNT = "totalCount";
private static final String SI_INITIAL_DATA = "initialData";
//private static final String SI_ROWS = "rows";
private static final String SI_CURSOR = "cursor";
private static final String SI_SERVICE_NAME = "serviceName";
private static final String SI_COLUMN_NAMES = "columnNames";
private static final String SI_VERSION = "version";
private static int count = 0;
private Map serverInfo;
private List> rows;
private int initialRowCount;
public ASRecordSet() {
super("RecordSet");
serverInfo = new HashMap();
put(SI, serverInfo);
synchronized (ASRecordSet.class)
{
count++;
setId("RS" + count);
}
setInitialData(new ArrayList