@java.lang.SuppressWarnings({"rawtypes", "unchecked"}) public abstract class AbstractPersistentCollection extends java.lang.Object implements PersistentCollection, java.io.Serializable
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 |
---|---|---|
|
public boolean |
add(java.lang.Object o) |
|
public boolean |
addAll(java.util.Collection c) |
|
public void |
clear() |
|
public boolean |
contains(java.lang.Object o) |
|
public boolean |
containsAll(java.util.Collection c) |
|
protected boolean |
currentlyInitializing() |
|
public boolean |
doesReturnKeys() |
|
public boolean |
equals(java.lang.Object o) |
|
public PersistentEntity |
getIndexedEntity() |
|
public int |
getOriginalSize() |
|
public boolean |
hasChanged() |
|
public boolean |
hasChangedSize() |
|
public boolean |
hasGrown() |
|
public boolean |
hasNext() |
|
public boolean |
hasShrunk() |
|
public int |
hashCode() |
|
public void |
initialize() |
|
public boolean |
isDirty() |
|
public boolean |
isEmpty() |
|
public boolean |
isInitialized() |
|
public java.util.Iterator |
iterator() |
|
protected void |
loadInverseChildKeys(Session session, java.lang.Class childType, java.util.Collection keys) |
|
public void |
markDirty() |
|
public java.lang.Object |
next() |
|
public java.util.List |
query(java.lang.Object primaryKey) |
|
public void |
remove() |
|
public boolean |
remove(java.lang.Object o) |
|
public boolean |
removeAll(java.util.Collection c) |
|
public void |
resetDirty() |
|
public boolean |
retainAll(java.util.Collection c) |
|
protected void |
setInitializing(java.lang.Boolean initializing) |
|
public void |
setProxyEntities(boolean proxyEntities) Whether to proxy entities by their keys |
|
public int |
size() |
|
public java.lang.Object[] |
toArray() |
|
public java.lang.Object[] |
toArray(java.lang.Object[] a) |
|
public java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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