| org.objectweb.speedo.genclass.GenClassAccessor org.objectweb.speedo.genclass.collection.CollectionAccessor
All known Subclasses: org.objectweb.speedo.genclass.collection.SetAccessor, org.objectweb.speedo.genclass.collection.ListAccessor,
Field Summary | |
protected Collection | collection is the internal collection used when the gen class is not active. |
Method Summary | |
public boolean | add(Object o) | public boolean | addAll(Collection c) | public void | attachCopy(POManagerItf pm, Map map, StateItf fieldsClone) | public void | clear() | public boolean | contains(Object o) | public boolean | containsAll(Collection c) | public PIndexedElem | createPIndexedElem(GenClassAccessor gca) | public void | deletePersistent(POManagerItf pm) | public void | detachCopy(POManagerItf pm, Map map, StateItf fieldsClone, Collection fgHints) | protected boolean | duplicatAllowed() | public boolean | equals(Object o) | public void | forceDetachedDirty() | public boolean | isEmpty() | public Iterator | iterator() | public void | loadFieldsFromAccessor(StateItf sa) | public void | makePersistent(POManagerItf pm) | public void | makePersistentOnAttach(POManagerItf pm, Map map) | public void | refresh(POManagerItf pm, Map map, Collection fgHints) | public boolean | remove(Object o) | public boolean | removeAll(Collection c) | public void | restoreDetachedNone() | public boolean | retainAll(Collection c) | public void | retrieve(POManagerItf pm, Map map, Collection fgHints) | public void | setElements(Object o) | public int | size() | public boolean | speedoAdd(Object o, Object hints) | protected GenClassElement | speedoAdd(Object o, boolean allowDuplicates) | protected GenClassElement | speedoAddOnAttach(Object o, boolean allowDuplicates) | public boolean | speedoRemove(Object o, Object hints) | public GenClassElement | speedoRemove2(Object o) | public Object[] | toArray() | public Object[] | toArray(Object[] a) | public String | toString() |
collection | protected Collection collection(Code) | | is the internal collection used when the gen class is not active.
When the po is active the 'elements' field is used.
|
CollectionAccessor | public CollectionAccessor(SpeedoGenClassPO thepo)(Code) | | Instanciates and initializes a new collection with an initial size.
|
clear | public void clear()(Code) | | |
duplicatAllowed | protected boolean duplicatAllowed()(Code) | | |
forceDetachedDirty | public void forceDetachedDirty()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
loadFieldsFromAccessor | public void loadFieldsFromAccessor(StateItf sa)(Code) | | |
restoreDetachedNone | public void restoreDetachedNone()(Code) | | |
Methods inherited from org.objectweb.speedo.genclass.GenClassAccessor | abstract public void attachCopy(POManagerItf pm, Map map, StateItf fieldsClone)(Code)(Java Doc) abstract public PIndexedElem createPIndexedElem(GenClassAccessor gca)(Code)(Java Doc) public PIndexedElem createPIndexedElem()(Code)(Java Doc) abstract public void deletePersistent(POManagerItf pm)(Code)(Java Doc) abstract public void detachCopy(POManagerItf pm, Map map, StateItf fieldsClone, Collection fgHints)(Code)(Java Doc) public Logger getLogger()(Code)(Java Doc) public Object getMemoryInstance()(Code)(Java Doc) public void loadFields(POManagerItf pm, long[] fields)(Code)(Java Doc) abstract public void loadFieldsFromAccessor(StateItf sa)(Code)(Java Doc) abstract public void makePersistent(POManagerItf pm)(Code)(Java Doc) abstract public void makePersistentOnAttach(POManagerItf pm, Map map)(Code)(Java Doc) public void makeToMerge(Object thinLock)(Code)(Java Doc) public org.objectweb.perseus.persistence.api.State merge(org.objectweb.perseus.persistence.api.State oldState)(Code)(Java Doc) public void paAdd(PIndexedElem elem, Object conn) throws PExceptionIO(Code)(Java Doc) public boolean paDeltaSupported()(Code)(Java Doc) public int paGetNbElem()(Code)(Java Doc) public Iterator paIterator()(Code)(Java Doc) public void paSetNbElem(int nbelem)(Code)(Java Doc) abstract public void refresh(POManagerItf pm, Map map, Collection fgHints)(Code)(Java Doc) abstract public void retrieve(POManagerItf pm, Map map, Collection fgHints)(Code)(Java Doc) abstract public void setElements(Object o)(Code)(Java Doc) public void setFlushed(boolean val)(Code)(Java Doc) abstract public boolean speedoAdd(Object elemToAdd, Object hints)(Code)(Java Doc) abstract public boolean speedoRemove(Object elemToRemove, Object hints)(Code)(Java Doc) public void unSwizzle()(Code)(Java Doc) public void workingSetClosed()(Code)(Java Doc)
|
|
|