Package | Description |
---|---|
org.hibernate.engine |
This package contains classes that are "shared" by other packages,
and implementations of some key algorithms.
|
org.hibernate.event.def |
This package defines a default set of event listeners that
implements the default behaviors of Hibernate.
|
org.hibernate.hql.ast.util | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
Modifier and Type | Method and Description |
---|---|
abstract Iterator |
CascadingAction.getCascadableChildrenIterator(EventSource session,
CollectionType collectionType,
Object collection)
Given a collection, get an iterator of the children upon which the
current cascading action should be visited.
|
static Iterator |
CascadingAction.getLoadedElementsIterator(SessionImplementor session,
CollectionType collectionType,
Object collection)
Iterate just the elements of the collection that are already there.
|
static void |
Collections.processReachableCollection(PersistentCollection collection,
CollectionType type,
Object entity,
SessionImplementor session)
Initialize the role of the collection.
|
Modifier and Type | Method and Description |
---|---|
void |
EvictVisitor.evictCollection(Object value,
CollectionType type) |
protected void |
ProxyVisitor.reattachCollection(PersistentCollection collection,
CollectionType type)
Reattach a detached (disassociated) initialized or uninitialized
collection wrapper, using a snapshot carried with the collection
wrapper
|
Modifier and Type | Method and Description |
---|---|
String |
SessionFactoryHelper.getAssociatedEntityName(CollectionType collectionType)
Given a collection type, determine the entity name of the elements
contained within instance of that collection.
|
AssociationType |
SessionFactoryHelper.getElementAssociationType(CollectionType collectionType)
Essentially the same as
SessionFactoryHelper.getElementType(org.hibernate.type.CollectionType) , but requiring that the
element type be an association type. |
Modifier and Type | Method and Description |
---|---|
CollectionType |
Collection.getCollectionType() |
CollectionType |
Bag.getDefaultCollectionType() |
CollectionType |
IdentifierBag.getDefaultCollectionType() |
CollectionType |
Set.getDefaultCollectionType() |
CollectionType |
Array.getDefaultCollectionType() |
CollectionType |
Map.getDefaultCollectionType() |
CollectionType |
List.getDefaultCollectionType() |
abstract CollectionType |
Collection.getDefaultCollectionType() |
Modifier and Type | Method and Description |
---|---|
CollectionType |
AbstractCollectionPersister.getCollectionType() |
CollectionType |
CollectionPersister.getCollectionType()
Get the associated Type
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayType
A type for persistent arrays.
|
class |
BagType |
class |
CustomCollectionType
A custom type for mapping user-written classes that implement PersistentCollection
|
class |
IdentifierBagType |
class |
ListType |
class |
MapType |
class |
OrderedMapType
A specialization of the map type, with (resultset-based) ordering.
|
class |
OrderedSetType
A specialization of the set type, with (resultset-based) ordering.
|
class |
SetType |
class |
SortedMapType |
class |
SortedSetType |
Modifier and Type | Method and Description |
---|---|
CollectionType |
TypeFactory.array(String role,
String propertyRef,
boolean embedded,
Class elementClass) |
CollectionType |
TypeFactory.bag(String role,
String propertyRef,
boolean embedded) |
CollectionType |
TypeFactory.customCollection(String typeName,
Properties typeParameters,
String role,
String propertyRef,
boolean embedded) |
CollectionType |
TypeFactory.idbag(String role,
String propertyRef,
boolean embedded) |
CollectionType |
TypeFactory.list(String role,
String propertyRef,
boolean embedded) |
CollectionType |
TypeFactory.map(String role,
String propertyRef,
boolean embedded) |
CollectionType |
TypeFactory.orderedMap(String role,
String propertyRef,
boolean embedded) |
CollectionType |
TypeFactory.orderedSet(String role,
String propertyRef,
boolean embedded) |
CollectionType |
TypeFactory.set(String role,
String propertyRef,
boolean embedded) |
CollectionType |
TypeFactory.sortedMap(String role,
String propertyRef,
boolean embedded,
Comparator comparator) |
CollectionType |
TypeFactory.sortedSet(String role,
String propertyRef,
boolean embedded,
Comparator comparator) |
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved