The ICollectionPersister type exposes the following members.

Methods

  NameDescription
Public methodDeleteRows
Delete the persistent state of any elements that were removed from the collection
Public methodElementExists
Public methodGetElementByIndex
Try to find an element by a given index.
Public methodGetElementColumnAliases
Generates the collection's element column aliases, based on the given suffix.
Public methodGetIdentifierColumnAlias
Generates the collection's identifier column aliases, based on the given suffix.
Public methodGetIndexColumnAliases
Generates the collection's index column aliases, based on the given suffix.
Public methodGetKeyColumnAliases
Generates the collection's key column aliases, based on the given suffix.
Public methodGetManyToManyFilterFragment
Public methodGetSize
Public methodIndexExists
Public methodInitialize
Initialize the given collection with the given key
Public methodInsertRows
Insert the persistent state of any new collection elements
Public methodIsAffectedByEnabledFilters
Public methodPostInstantiate
Public methodReadElement
Read the element from a row of the IDataReader
Public methodReadIdentifier
Read the identifier from a row of the IDataReader
Public methodReadIndex
Read the index from a row of the IDataReader
Public methodReadKey
Read the key from a row of the IDataReader
Public methodRecreate
(Re)create the collection's persistent state
Public methodRemove
Completely remove the persistent state of the collection
Public methodUpdateRows
Update the persistent state of any elements that were modified

Properties

  NameDescription
Public propertyCache
Get the cache
Public propertyCacheEntryStructure
Get the cache structure
Public propertyCascadeDeleteEnabled
Is cascade delete handled by the database-level foreign key constraint definition?
Public propertyCollectionMetadata
Public propertyCollectionSpaces
Get the "space" that holds the persistent state
Public propertyCollectionType
Get the associated IType
Public propertyElementClass
Return the element class of an array, or null otherwise
Public propertyElementNodeName
Public propertyElementType
Get the "element" type
Public propertyFactory
Public propertyHasCache
Is this collection role cacheable
Public propertyHasIndex
Is this an "indexed" collection? (list or map)
Public propertyHasManyToManyOrdering
Public propertyHasOrdering
Is this an ordered collection? (An ordered collection is ordered by the initialization operation, not by sorting that happens in memory, as in the case of a sorted collection.)
Public propertyHasOrphanDelete
Does this collection implement "orphan delete"?
Public propertyIdentifierGenerator
Get the surrogate key generation strategy (optional operation)
Public propertyIdentifierType
Get the type of the surrogate key
Public propertyIndexNodeName
Public propertyIndexType
Get the "index" type for a list or map (optional operation)
Public propertyIsArray
Is this an array?
Public propertyIsExtraLazy
Public propertyIsInverse
Is this collection "inverse", so state changes are not propogated to the database.
Public propertyIsLazy
Is this collection lazily initialized?
Public propertyIsManyToMany
Is this a many-to-many association? Note that this is mainly a convenience feature as the single persister does not contain all the information needed to handle a many-to-many itself, as internally it is looked at as two many-to-ones.
Public propertyIsMutable
Can the elements of this collection change?
Public propertyIsOneToMany
Is this a one-to-many association?
Public propertyIsPrimitiveArray
Is this an array or primitive values?
Public propertyIsVersioned
Does this collection cause version increment of the owning entity?
Public propertyKeyType
Get the "key" type (the type of the foreign key)
Public propertyNodeName
Public propertyNotFoundObject
A place-holder to inform that the data-reader was empty.
Public propertyOwnerEntityPersister
Get the persister of the entity that "owns" this collection
Public propertyRole
Get the name of this collection role (the fully qualified class name, extended by a "property path")

See Also