|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.persist.collectionAdapters.VectorCollectionAdapter
Collection Adapters were introduced to support multiple collection types within the JavaGrinder Framework.
Constructor Summary | |
VectorCollectionAdapter()
|
Method Summary | |
void |
addElement(java.lang.Object obj)
Add the object to this collection. |
java.lang.Object |
firstElement()
|
java.lang.Object |
getCollectionObject()
Get the actual collection object. |
CollectionAdapter |
getNewInstance()
Invoked when a new instance is needed. |
void |
preQuery(SQLQuery q)
An entry point to tweak the query before issuing the find. |
void |
setDataObject(java.util.Vector v)
Sets the DataObject attribute of the VectorCollectionAdapter object |
int |
size()
The number of elements in the collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VectorCollectionAdapter()
Method Detail |
public void setDataObject(java.util.Vector v)
v
- The new DataObject valuepublic java.lang.Object getCollectionObject()
getCollectionObject
in interface CollectionAdapter
public CollectionAdapter getNewInstance()
CollectionAdapter
getNewInstance
in interface CollectionAdapter
public java.lang.Object firstElement()
firstElement
in interface CollectionAdapter
public void preQuery(SQLQuery q)
preQuery
in interface CollectionAdapter
q
- public void addElement(java.lang.Object obj)
addElement
in interface CollectionAdapter
obj
- The feature to be added to the Element attributepublic int size()
size
in interface CollectionAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |