|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.persist.collectionAdapters.HashMapCollectionAdapter
Collection Adapters were introduced to support multiple collection types within the JavaGrinder Framework.
Constructor Summary | |
HashMapCollectionAdapter()
|
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. |
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 HashMapCollectionAdapter()
Method Detail |
public java.lang.Object firstElement()
firstElement
in interface CollectionAdapter
public void preQuery(SQLQuery q)
preQuery
in interface CollectionAdapter
q
- public java.lang.Object getCollectionObject()
getCollectionObject
in interface CollectionAdapter
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
public CollectionAdapter getNewInstance()
CollectionAdapter
getNewInstance
in interface CollectionAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |