public class ToManyList extends PersistentObjectList 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 collection) |
protected void |
postprocessAdd(Object addedObject) |
protected void |
postprocessRemove(Collection collection) |
protected void |
postprocessRemove(Object removedObject) |
protected boolean |
shouldAddToRemovedFromUnresolvedList(Object object) |
String |
toString() |
protected void |
updateReverse(List 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
hashCode
in interface List
hashCode
in class PersistentObjectList
protected boolean shouldAddToRemovedFromUnresolvedList(Object object)
shouldAddToRemovedFromUnresolvedList
in class PersistentObjectList
PersistentObjectList.removedFromUnresolved
during
removalpublic String toString()
toString
in class PersistentObjectList
protected void postprocessAdd(Collection collection)
postprocessAdd
in class PersistentObjectList
protected void postprocessRemove(Collection collection)
postprocessRemove
in class PersistentObjectList
protected void postprocessAdd(Object addedObject)
postprocessAdd
in class PersistentObjectList
protected void postprocessRemove(Object removedObject)
postprocessRemove
in class PersistentObjectList
protected void updateReverse(List resolved)
updateReverse
in class RelationshipFault
Copyright © 2001–2023 Apache Cayenne. All rights reserved.