public interface SCOCollection extends Collection, SCO
Modifier and Type | Method and Description |
---|---|
void |
addAllInternal(Collection c)
Adds objects of the given Collection to this Collection without recording
the event.
|
void |
addInternal(Object o)
Adds object to the Collection without recording
the event.
|
void |
addToBaseCollection(Object o)
Adds an object to the list without recording changes.
|
void |
applyDeferredUpdates(Collection c) |
void |
clearInternal()
Clears Collection without recording
the event.
|
Collection |
getAdded()
Returns the Collection of added elements
|
Collection |
getRemoved()
Returns the Collection of removed elements
|
boolean |
isDeferred() |
void |
markDeferred() |
void |
removeAllInternal(Collection c)
Removes objects of the given Collection from this Collection without recording
the event.
|
void |
removeInternal(Object o)
Removes element from the Collection without recording
the event.
|
void |
reset()
Resets removed and added lists after flush
|
void |
setOwner(Object owner,
String fieldName,
Class elementType)
Sets a new owner for the SCO instance that is not owned
by any other object.
|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
applyUpdates, cloneInternal, getFieldName, getOwner, makeDirty, unsetOwner
void reset()
void markDeferred()
boolean isDeferred()
void applyDeferredUpdates(Collection c)
void addInternal(Object o)
void addAllInternal(Collection c)
void addToBaseCollection(Object o)
void removeAllInternal(Collection c)
void clearInternal()
void removeInternal(Object o)
Collection getAdded()
Collection getRemoved()
void setOwner(Object owner, String fieldName, Class elementType)
owner
- the new ownerfieldName
- as java.lang.StringelementType
- the new element type as Class, or null if type
is not to be checke.JDOUserException
- if the
instance is owned by another owner.Copyright © 2020. All rights reserved.