Java org.hibernate.collection.spi PersistentCollection fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate.collection.spi PersistentCollection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate.collection.spi PersistentCollection.

The text is from its open source code.

Implementation

org.hibernate.collection.spi.PersistentCollection has the following implementations.
Click this link to see all its implementation.

Method

voidclearDirty()
Clear the dirty flag, after flushing changes to the database.
voiddirty()
Mark the collection as dirty
voidforceInitialization()
To be called internally by the session, forcing immediate initialization.
SerializablegetKey()
Get the current collection key value
ObjectgetOwner()
Get the owning entity.
StringgetRole()
Get the current role name
SerializablegetStoredSnapshot()
Get the snapshot cached by the collection instance
ObjectgetValue()
Return the user-visible collection (or array) instance
booleanhasQueuedOperations()
Does this instance have any "queued" operations?
booleanisDirty()
Is the collection dirty?
voidsetSnapshot(Serializable key, String role, Serializable snapshot)
After flushing, re-init snapshot state.
booleanunsetSession(SharedSessionContractImplementor currentSession)
Disassociate this collection from the given session.
booleanwasInitialized()
Is this instance initialized?