public class ToManyList<E> extends PersistentObjectList<E> implements Serializable
addedToUnresolved, objectList, removedFromUnresolved
relationshipName, relationshipOwner
Constructor and Description |
---|
ToManyList(Persistent source,
String relationship)
Creates ToManyList.
|
Modifier and Type | Method and Description |
---|---|
int |
hashCode() |
protected void |
postprocessAdd(Collection<? extends E> collection) |
protected void |
postprocessAdd(E addedObject) |
protected void |
postprocessRemove(Collection<? extends E> collection) |
protected void |
postprocessRemove(E removedObject) |
protected boolean |
shouldAddToRemovedFromUnresolvedList(Object object) |
String |
toString() |
protected void |
updateReverse(List<E> resolved) |
add, add, addAll, addAll, addDirectly, addLocal, clear, clearLocalChanges, contains, containsAll, equals, get, getValue, getValueDirectly, indexOf, invalidate, isEmpty, isFault, iterator, lastIndexOf, listIterator, listIterator, mergeLocalChanges, remove, remove, removeAll, removeDirectly, removeLocal, resolvedObjectList, retainAll, set, setObjectList, setValue, setValueDirectly, size, subList, toArray, toArray
getRelationshipName, getRelationshipOwner, isTransientParent, isUncommittedParent, resolveFromDB
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
replaceAll, sort, spliterator
parallelStream, removeIf, stream
public ToManyList(Persistent source, String relationship)
public int hashCode()
hashCode
in interface Collection<E>
hashCode
in interface List<E>
hashCode
in class PersistentObjectList<E>
protected boolean shouldAddToRemovedFromUnresolvedList(Object object)
shouldAddToRemovedFromUnresolvedList
in class PersistentObjectList<E>
PersistentObjectList.removedFromUnresolved
during
removalpublic String toString()
toString
in class PersistentObjectList<E>
protected void postprocessAdd(Collection<? extends E> collection)
postprocessAdd
in class PersistentObjectList<E>
protected void postprocessRemove(Collection<? extends E> collection)
postprocessRemove
in class PersistentObjectList<E>
protected void postprocessAdd(E addedObject)
postprocessAdd
in class PersistentObjectList<E>
protected void postprocessRemove(E removedObject)
postprocessRemove
in class PersistentObjectList<E>
protected void updateReverse(List<E> resolved)
updateReverse
in class RelationshipFault<E>
Copyright © 2001–2019 Apache Cayenne. All rights reserved.