Example usage for Java org.hibernate.collection.spi PersistentCollection fields, constructors, methods, implement or subclass
The text is from its open source code.
void | clearDirty() Clear the dirty flag, after flushing changes to the database. |
void | dirty() Mark the collection as dirty |
void | forceInitialization() To be called internally by the session, forcing immediate initialization. |
Serializable | getKey() Get the current collection key value |
Object | getOwner() Get the owning entity. |
String | getRole() Get the current role name |
Serializable | getStoredSnapshot() Get the snapshot cached by the collection instance |
Object | getValue() Return the user-visible collection (or array) instance |
boolean | hasQueuedOperations() Does this instance have any "queued" operations? |
boolean | isDirty() Is the collection dirty? |
void | setSnapshot(Serializable key, String role, Serializable snapshot) After flushing, re-init snapshot state. |
boolean | unsetSession(SharedSessionContractImplementor currentSession) Disassociate this collection from the given session. |
boolean | wasInitialized() Is this instance initialized? |