Package org.hibernate.mapping
Class Map
- java.lang.Object
-
- org.hibernate.mapping.Collection
-
- org.hibernate.mapping.IndexedCollection
-
- org.hibernate.mapping.Map
-
- All Implemented Interfaces:
Serializable,Fetchable,Filterable,Value
public class Map extends IndexedCollection
A map has a primary key consisting of the key columns + index columns.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hibernate.mapping.IndexedCollection
DEFAULT_INDEX_COLUMN_NAME
-
Fields inherited from class org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
-
-
Constructor Summary
Constructors Constructor Description Map(MetadataBuildingContext buildingContext, PersistentClass owner)Map(MetadataImplementor metadata, PersistentClass owner)Deprecated.UseMap(MetadataBuildingContext, PersistentClass)instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(ValueVisitor visitor)voidcreateAllKeys()CollectionTypegetDefaultCollectionType()booleanisMap()-
Methods inherited from class org.hibernate.mapping.IndexedCollection
getIndex, isIndexed, isList, isSame, isSame, setIndex, validate
-
Methods inherited from class org.hibernate.mapping.Collection
addFilter, addManyToManyFilter, 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, isIdentified, isInverse, isLazy, 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
-
Map
@Deprecated public Map(MetadataImplementor metadata, PersistentClass owner)
Deprecated.UseMap(MetadataBuildingContext, PersistentClass)instead.
-
Map
public Map(MetadataBuildingContext buildingContext, PersistentClass owner)
-
-
Method Detail
-
isMap
public boolean isMap()
- Overrides:
isMapin classCollection
-
getDefaultCollectionType
public CollectionType getDefaultCollectionType()
- Specified by:
getDefaultCollectionTypein classCollection
-
createAllKeys
public void createAllKeys() throws MappingException- Overrides:
createAllKeysin classCollection- Throws:
MappingException
-
accept
public Object accept(ValueVisitor visitor)
-
-