@java.lang.SuppressWarnings({"rawtypes", "unchecked"}) public abstract class AbstractPersistentCollection extends java.lang.Object
Abstract base class for persistent collections.
Modifiers | Name | Description |
---|---|---|
protected java.io.Serializable |
associationKey |
|
protected java.lang.Class |
childType |
|
protected java.util.Collection |
collection |
|
protected boolean |
dirty |
|
protected AssociationQueryExecutor |
indexer |
|
protected boolean |
initialized |
|
protected java.lang.Object |
initializing |
|
protected java.util.Collection |
keys |
|
protected int |
originalSize |
|
protected boolean |
proxyEntities |
|
protected Session |
session |
Constructor and description |
---|
protected AbstractPersistentCollection
(java.lang.Class childType, Session session, java.util.Collection collection) |
protected AbstractPersistentCollection
(Association association, java.io.Serializable associationKey, Session session, java.util.Collection collection) |
protected AbstractPersistentCollection
(java.util.Collection keys, java.lang.Class childType, Session session, java.util.Collection collection) |
protected AbstractPersistentCollection
(java.io.Serializable associationKey, Session session, AssociationQueryExecutor indexer, java.util.Collection collection) |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
add(java.lang.Object o) |
|
boolean |
addAll(java.util.Collection c) |
|
void |
clear() |
|
boolean |
contains(java.lang.Object o) |
|
boolean |
containsAll(java.util.Collection c) |
|
protected boolean |
currentlyInitializing() |
|
boolean |
equals(java.lang.Object o) |
|
int |
getOriginalSize() |
|
boolean |
hasChanged() |
|
boolean |
hasChangedSize() |
|
boolean |
hasGrown() |
|
boolean |
hasShrunk() |
|
int |
hashCode() |
|
void |
initialize() |
|
boolean |
isDirty() |
|
boolean |
isEmpty() |
|
boolean |
isInitialized() |
|
java.util.Iterator |
iterator() |
|
protected void |
loadInverseChildKeys(Session session, java.lang.Class childType, java.util.Collection keys) |
|
void |
markDirty() |
|
boolean |
remove(java.lang.Object o) |
|
boolean |
removeAll(java.util.Collection c) |
|
void |
resetDirty() |
|
boolean |
retainAll(java.util.Collection c) |
|
void |
setProxyEntities(boolean proxyEntities) Whether to proxy entities by their keys |
|
int |
size() |
|
java.lang.Object[] |
toArray() |
|
java.lang.Object[] |
toArray(java.lang.Object[] a) |
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Whether to proxy entities by their keys
proxyEntities
- True if you wish to proxy entities