Top Description Fields Constructors Methods
org.hibernate.mapping

public Class Bag

extends Collection
Class Inheritance
Imports
org.hibernate.cfg.Mappings, org.hibernate.type.CollectionType

A bag permits duplicates, so it has no primary key
Author
Gavin King

Field Summary

Inherited from org.hibernate.mapping.Collection:
DEFAULT_ELEMENT_COLUMN_NAMEDEFAULT_KEY_COLUMN_NAME

Constructor Summary

AccessConstructor and Description
public
Bag(Mappings mappings, PersistentClass owner)

Method Summary

Modifier and TypeMethod and Description
public Object
pack-priv void
public CollectionType
Inherited from org.hibernate.mapping.Collection:
addFilteraddManyToManyFiltercreateAllKeyscreateForeignKeygetBatchSizegetCacheConcurrencyStrategygetCacheRegionNamegetCollectionPersisterClassgetCollectionTablegetCollectionTypegetColumnInsertabilitygetColumnIteratorgetColumnSpangetColumnUpdateabilitygetComparatorgetComparatorClassNamegetCustomSQLDeletegetCustomSQLDeleteAllgetCustomSQLDeleteAllCheckStylegetCustomSQLDeleteCheckStylegetCustomSQLInsertgetCustomSQLInsertCheckStylegetCustomSQLUpdategetCustomSQLUpdateCheckStylegetElementgetElementNodeNamegetFetchModegetFilterMapgetKeygetLoaderNamegetManyToManyFilterMapgetManyToManyOrderinggetManyToManyWheregetMappingsgetNodeNamegetOrderBygetOwnergetOwnerEntityNamegetReferencedPropertyNamegetRolegetSynchronizedTablesgetTablegetTypegetTypeNamegetTypeParametersgetWherehasFormulahasOrderhasOrphanDeleteisAlternateUniqueKeyisArrayisCustomDeleteAllCallableisCustomDeleteCallableisCustomInsertCallableisCustomUpdateCallableisEmbeddedisExtraLazyisIdentifiedisIndexedisInverseisLazyisMapisMutableisNullableisOneToManyisOptimisticLockedisPrimitiveArrayisSetisSimpleValueisSortedisSubselectLoadableisValidsetBatchSizesetCacheConcurrencyStrategysetCacheRegionNamesetCollectionPersisterClasssetCollectionTablesetComparatorsetComparatorClassNamesetCustomSQLDeletesetCustomSQLDeleteAllsetCustomSQLInsertsetCustomSQLUpdatesetElementsetElementNodeNamesetEmbeddedsetExtraLazysetFetchModesetInversesetKeysetLazysetLoaderNamesetManyToManyOrderingsetManyToManyWheresetMutablesetNodeNamesetOptimisticLockedsetOrderBysetOrphanDeletesetOwnersetReferencedPropertyNamesetRolesetSortedsetSubselectLoadablesetTypeNamesetTypeParameterssetTypeUsingReflectionsetWheretoStringvalidate

Constructor Detail

Bagback to summary
public Bag(Mappings mappings, PersistentClass owner)

Method Detail

acceptback to summary
public Object accept(ValueVisitor visitor)

Implements org.hibernate.mapping.Value.accept.

createPrimaryKeyback to summary
pack-priv void createPrimaryKey()

Implements abstract org.hibernate.mapping.Collection.createPrimaryKey.

getDefaultCollectionTypeback to summary
public CollectionType getDefaultCollectionType()

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