org.openamf.recordset
Class ASRecordSet
java.lang.Object
java.util.AbstractMap
java.util.HashMap
flashgateway.io.ASObject
org.openamf.recordset.ASRecordSet
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class ASRecordSet
- extends ASObject
- Version:
- $Revision: 1.29 $, $Date: 2006/03/25 22:17:44 $
- Author:
- Jason Calabrese ,
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsValue, entrySet, isEmpty, keySet, putAll, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
ASRecordSet
public ASRecordSet()
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
getTotalCount
public int getTotalCount()
setTotalCount
public void setTotalCount(int totalCount)
getInitialData
public java.util.List getInitialData()
setInitialData
public void setInitialData(java.util.List initialData)
getRecords
public java.util.Map getRecords(int from,
int count)
getCursor
public int getCursor()
setCursor
public void setCursor(int cursor)
getServiceName
public java.lang.String getServiceName()
setServiceName
public void setServiceName(java.lang.String serviceName)
getColumnNames
public java.lang.String[] getColumnNames()
setColumnNames
public void setColumnNames(java.lang.String[] columnNames)
getVersion
public double getVersion()
setVersion
public void setVersion(double version)
rows
public java.util.List rows()
populate
public void populate(java.sql.ResultSet rs)
throws java.io.IOException
- Throws:
java.io.IOException
populate
public void populate(java.lang.String[] columnNames,
java.util.List rows)
- Parameters:
columnNames
- rows
- ArrayList containing a ArrayList for each row
populate
public void populate(java.util.List list,
java.lang.String[] ignoreProperties)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Parameters:
list
- List of JavaBeans, all beans should be of the same typeignoreProperties
- properties that should not be added to the RecordSet
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
toString
public java.lang.String toString()
- Overrides:
toString
in class ASObject