|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
uk.co.weft.dbutil.Contexts
A collection of contexts; at minimum, a wrapper around Vector. At some stage subclass this to provide a somewhat more clever wrapper around a ResultSet, which only generates contexts when asked for.
| Field Summary |
| Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
Contexts()
default constructor does nothing |
|
Contexts(java.sql.ResultSet results)
create a contexts set based on this resultset |
|
| Method Summary | |
void |
drop(Context c,
java.lang.Object key)
drop the (first) of my contexts with this value for its keyname |
int |
fetch(Context c,
java.lang.Object key)
fetch the values from the (first) of my contexts with this value for its keyname. |
Contexts |
match(Context c)
Deprecated. use match( Context, boolean) |
Contexts |
match(Context c,
boolean exact)
Fetch all those of my contexts which match the values contained in this context. |
java.lang.Object |
store(Context c)
Add this context to me. |
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
| Constructor Detail |
public Contexts()
public Contexts(java.sql.ResultSet results)
| Method Detail |
public void drop(Context c,
java.lang.Object key)
throws DataStoreException
drop in interface DataStoreDescriptorDataStoreException
public int fetch(Context c,
java.lang.Object key)
throws DataStoreException
fetch in interface DataStoreDescriptorDataStoreException
public Contexts match(Context c)
throws DataStoreException
match in interface DataStoreDescriptorDataStoreException
public Contexts match(Context c,
boolean exact)
throws DataStoreException
match in interface DataStoreDescriptorc - the context to be matchedexact - whether or not an exact match is required
DataStoreException
public java.lang.Object store(Context c)
throws DataStoreException
store in interface DataStoreDescriptorDataStoreException
|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||