|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
IEntityPool defines the interface to an entity collection class that can store zero or more IEntity objects. The entities stored in an IEntityPool are not type specified and does not have to be defined by a single IEntityDescriptor. IEntityPool is not ordered and should not accept duplicates effectively makeing it at a "Set".
Method Summary | |
boolean |
addEntity(IEntity entity)
|
java.util.Set |
asSet()
|
void |
clear()
|
boolean |
contains(IEntity entity)
|
void |
deleteAll()
Deletes all contained entities. |
boolean |
doesAccept(IEntity entity)
|
boolean |
isDirty()
Return true if any (one or more) of the collections's contained entities has the DIRTY flag set to true that is have unsaved changes. |
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
void |
refreshAll()
Performs a refresh on all contained entities. |
boolean |
removeEntity(IEntity entity)
|
int |
size()
|
void |
storeAll()
Stores all contained entities that have the DIRTY flag set to true. |
Method Detail |
public boolean isDirty()
public void storeAll()
public void deleteAll()
public void refreshAll()
public boolean addEntity(IEntity entity)
public boolean removeEntity(IEntity entity)
public java.util.Iterator iterator()
public void clear()
public int size()
public boolean isEmpty()
public boolean contains(IEntity entity)
public boolean doesAccept(IEntity entity)
public java.util.Set asSet()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |