flex.messaging.io
Class ASRecordSet
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
flex.messaging.io.ASObject
flex.messaging.io.ASRecordSet
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>
public class ASRecordSet
- extends ASObject
- Version:
- $Revision: 1.29 $, $Date: 2006/03/25 22:17:44 $
- Author:
- Jason Calabrese
- See Also:
- Serialized Form
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
ASRecordSet
public ASRecordSet()
getId
public String getId()
setId
public void setId(String id)
getTotalCount
public int getTotalCount()
setTotalCount
public void setTotalCount(int totalCount)
getInitialData
public List<?> getInitialData()
setInitialData
public void setInitialData(List<?> initialData)
getRecords
public Map<String,Object> getRecords(int from,
int count)
getCursor
public int getCursor()
setCursor
public void setCursor(int cursor)
getServiceName
public String getServiceName()
setServiceName
public void setServiceName(String serviceName)
getColumnNames
public String[] getColumnNames()
setColumnNames
public void setColumnNames(String[] columnNames)
getVersion
public double getVersion()
setVersion
public void setVersion(double version)
rows
public List<List<Object>> rows()
populate
public void populate(ResultSet rs)
throws IOException
- Throws:
IOException
populate
public void populate(String[] columnNames,
List<List<Object>> rows)
- Parameters:
columnNames - rows - ArrayList containing a ArrayList for each row
populate
public void populate(List<?> list,
String[] ignoreProperties)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Parameters:
list - List of JavaBeans, all beans should be of the same typeignoreProperties - properties that should not be added to the RecordSet
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
toString
public String toString()
- Overrides:
toString in class ASObject