public class BeanResult<T> extends ArrayList<T>
modCount| Constructor and Description |
|---|
BeanResult(Class<T> clazz,
DBCommand cmd)
Create a bean result from a command object.
|
BeanResult(Class<T> clazz,
DBRowSet rowset)
Creates a bean result for a Table, View or Query from the supplied columns.
|
| Modifier and Type | Method and Description |
|---|---|
int |
fetch(Connection conn) |
int |
fetch(Connection conn,
int maxItems) |
DBCommand |
getCommand() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic BeanResult(Class<T> clazz, DBCommand cmd)
clazz - cmd - public BeanResult(Class<T> clazz, DBRowSet rowset)
clazz - the of Trowset - the rowsetpublic DBCommand getCommand()
public int fetch(Connection conn, int maxItems)
public final int fetch(Connection conn)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.