Top Description Fields Constructors Methods
org.hibernate.mapping

public Class IdentifierBag

extends IdentifierCollection
Class Inheritance
Imports
java.util.function.Supplier, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.resource.beans.spi.ManagedBean, org.hibernate.type.CollectionType, .IdentifierBagType, org.hibernate.usertype.UserCollectionType

A bag with a generated (surrogate) key. Its primary key is just the identifier column.

Field Summary

Inherited from org.hibernate.mapping.IdentifierCollection:
DEFAULT_IDENTIFIER_COLUMN_NAME

Constructor Summary

AccessConstructor and Description
public
IdentifierBag(MetadataBuildingContext buildingContext, PersistentClass owner)

hbm.xml binding

public
IdentifierBag(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext)

annotation binding

public

Method Summary

Modifier and TypeMethod and Description
public Object
public IdentifierBag
public CollectionType
Inherited from org.hibernate.mapping.IdentifierCollection:
createPrimaryKeygetIdentifierisIdentifiedisSameisSamesetIdentifiervalidate

Constructor Detail

IdentifierBagback to summary
public IdentifierBag(MetadataBuildingContext buildingContext, PersistentClass owner)

hbm.xml binding

IdentifierBagback to summary
public IdentifierBag(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext)

annotation binding

IdentifierBagback to summary
public IdentifierBag(IdentifierBag original)

Method Detail

acceptback to summary
public Object accept(ValueVisitor visitor)

Implements org.hibernate.mapping.Value.accept.

copyback to summary
public IdentifierBag copy()

Implements org.hibernate.mapping.Value.copy.

Annotations
@Override
getDefaultCollectionTypeback to summary
public CollectionType getDefaultCollectionType()

Implements abstract org.hibernate.mapping.Collection.getDefaultCollectionType.