|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A SyncBoCollection is a static collection of SyncBo entities.It uses the SyncBo's key field value as the key to that SyncBo entitiy.Its also possible to a get a iterator of the SyncBo entities in this SyncBoCollection.
Example:
Where orderDescriptor is a SyncBo and facade is the SyncBoDataFacade.
SyncBoCollection list = facade.getSyncBos(orderDescriptor);
//To get a specified SyncBo whose key is syncKey
SyncBo syncBo = list.get(syncKey);
//To get the number of SyncBo present in the collection
int size = list.size();
//To test if the SyncBo with the key as syncKey is present in the collection
boolean contains = list.contains(syncKey);
//To get the iterator of the SyncBo entities in this SyncBoCollection.
MeIterator it = list.iterator();
Method Summary | |
boolean |
contains(java.lang.Object key)
Tests if the specified object is a key in this collection. |
SyncBo |
get(java.lang.Object key)
Returns the SyncBo entitiy to which the specified key is mapped in this SyncBoCollection. |
MeIterator |
iterator()
Returns the iterator of the SyncBo entities in this SyncBoCollection. |
int |
size()
Returns the number of SyncBo entities in this collection. |
Method Detail |
public int size()
public SyncBo get(java.lang.Object key)
key
- a key in the collection
public MeIterator iterator()
public boolean contains(java.lang.Object key)
key
- a possible key object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |