Package org.hibernate.mapping
Class Bag
- java.lang.Object
-
- org.hibernate.mapping.Collection
-
- org.hibernate.mapping.Bag
-
- All Implemented Interfaces:
Serializable,Fetchable,Filterable,Value
public class Bag extends Collection
A bag permits duplicates, so it has no primary key- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
-
-
Constructor Summary
Constructors Constructor Description Bag(MetadataBuildingContext buildingContext, PersistentClass owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(ValueVisitor visitor)CollectionSemanticsgetDefaultCollectionSemantics()CollectionTypegetDefaultCollectionType()-
Methods inherited from class org.hibernate.mapping.Collection
addFilter, addManyToManyFilter, createAllKeys, createForeignKey, getBatchSize, getBuildingContext, getCacheConcurrencyStrategy, getCacheRegionName, getCollectionPersisterClass, getCollectionSemantics, getCollectionTable, getCollectionType, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getComparator, getComparatorClassName, getCustomSQLDelete, getCustomSQLDeleteAll, getCustomSQLDeleteAllCheckStyle, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getElement, getFetchMode, getFilters, getKey, getLoaderName, getManyToManyFilters, getManyToManyOrdering, getManyToManyWhere, getMappedByProperty, getMetadata, getOrderBy, getOwner, getOwnerEntityName, getReferencedPropertyName, getRole, getSelectables, getServiceRegistry, getSynchronizedTables, getTable, getType, getTypeConfiguration, getTypeName, getTypeParameters, getWhere, hasAnyInsertableColumns, hasAnyUpdatableColumns, hasFormula, hasOrder, hasOrphanDelete, isAlternateUniqueKey, isArray, isCustomDeleteAllCallable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isExtraLazy, isIdentified, isIndexed, isInverse, isLazy, isMap, isMutable, isNullable, isOneToMany, isOptimisticLocked, isPrimitiveArray, isSame, isSame, isSame, isSet, isSimpleValue, isSorted, isSubselectLoadable, isValid, setBatchSize, setCacheConcurrencyStrategy, setCacheRegionName, setCollectionPersisterClass, setCollectionTable, setComparator, setComparatorClassName, setCustomSQLDelete, setCustomSQLDeleteAll, setCustomSQLInsert, setCustomSQLUpdate, setElement, setExtraLazy, setFetchMode, setInverse, setKey, setLazy, setLoaderName, setManyToManyOrdering, setManyToManyWhere, setMappedByProperty, setMutable, setOptimisticLocked, setOrderBy, setOrphanDelete, setOwner, setReferencedPropertyName, setRole, setSorted, setSubselectLoadable, setTypeName, setTypeParameters, setTypeParameters, setTypeUsingReflection, setWhere, toString, validate
-
-
-
-
Constructor Detail
-
Bag
public Bag(MetadataBuildingContext buildingContext, PersistentClass owner)
-
-
Method Detail
-
getDefaultCollectionType
public CollectionType getDefaultCollectionType()
- Specified by:
getDefaultCollectionTypein classCollection
-
getDefaultCollectionSemantics
public CollectionSemantics getDefaultCollectionSemantics()
- Overrides:
getDefaultCollectionSemanticsin classCollection
-
accept
public Object accept(ValueVisitor visitor)
-
-