|
||||||||||
| 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 CollectionAdapterpublic void preQuery(SQLQuery q)
preQuery in interface CollectionAdapterq - public java.lang.Object getCollectionObject()
getCollectionObject in interface CollectionAdapterpublic void addElement(java.lang.Object obj)
addElement in interface CollectionAdapterobj - The feature to be added to the Element attributepublic int size()
size in interface CollectionAdapterpublic CollectionAdapter getNewInstance()
CollectionAdapter
getNewInstance in interface CollectionAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||