Package org.hibernate.mapping
Class IdentifierBag
- java.lang.Object
-
- org.hibernate.mapping.Collection
-
- org.hibernate.mapping.IdentifierCollection
-
- org.hibernate.mapping.IdentifierBag
-
- All Implemented Interfaces:
java.io.Serializable
,Fetchable
,Filterable
,Value
public class IdentifierBag extends IdentifierCollection
An IdentifierBag has a primary key consisting of just the identifier column- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hibernate.mapping.IdentifierCollection
DEFAULT_IDENTIFIER_COLUMN_NAME
-
Fields inherited from class org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
-
-
Constructor Summary
Constructors Constructor Description IdentifierBag(MetadataBuildingContext buildingContext, PersistentClass owner)
IdentifierBag(MetadataImplementor metadata, PersistentClass owner)
Deprecated.UserIdentifierBag(MetadataBuildingContext, PersistentClass)
instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
accept(ValueVisitor visitor)
CollectionType
getDefaultCollectionType()
-
Methods inherited from class org.hibernate.mapping.IdentifierCollection
getIdentifier, isIdentified, isSame, isSame, setIdentifier, validate
-
Methods inherited from class org.hibernate.mapping.Collection
addFilter, addManyToManyFilter, createAllKeys, createForeignKey, getBatchSize, getCacheConcurrencyStrategy, getCacheRegionName, getCollectionPersisterClass, 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, getServiceRegistry, getSynchronizedTables, getTable, getType, getTypeName, getTypeParameters, getWhere, hasFormula, hasOrder, hasOrphanDelete, isAlternateUniqueKey, isArray, isCustomDeleteAllCallable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isExtraLazy, isIndexed, isInverse, isLazy, isMap, isMutable, isNullable, isOneToMany, isOptimisticLocked, isPrimitiveArray, 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
-
-
-
-
Constructor Detail
-
IdentifierBag
@Deprecated public IdentifierBag(MetadataImplementor metadata, PersistentClass owner)
Deprecated.UserIdentifierBag(MetadataBuildingContext, PersistentClass)
instead.
-
IdentifierBag
public IdentifierBag(MetadataBuildingContext buildingContext, PersistentClass owner)
-
-
Method Detail
-
getDefaultCollectionType
public CollectionType getDefaultCollectionType()
- Specified by:
getDefaultCollectionType
in classCollection
-
accept
public java.lang.Object accept(ValueVisitor visitor)
-
-