Top Description Fields Constructors Methods
org.hibernate.mapping

public Class Map

extends IndexedCollection
Class Inheritance
Imports
java.util.function.Supplier, org.hibernate.MappingException, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.resource.beans.spi.ManagedBean, org.hibernate.type.CollectionType, .MapType, .OrderedMapType, .SortedMapType, org.hibernate.usertype.UserCollectionType

A mapping model object representing a collection of type java.util.Map. A map has a primary key consisting of the key columns + index columns.

Field Summary

Modifier and TypeField and Description
private String
Inherited from org.hibernate.mapping.IndexedCollection:
DEFAULT_INDEX_COLUMN_NAME

Constructor Summary

AccessConstructor and Description
public
public
Map(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext)

private
Map(Map original)

Method Summary

Modifier and TypeMethod and Description
public Object
public Map
public void
public CollectionType
public String
public boolean
public void
setMapKeyPropertyName(String mapKeyPropertyName)

Inherited from org.hibernate.mapping.IndexedCollection:
createPrimaryKeygetIndexisIndexedisListisSameisSamesetIndexvalidate

Field Detail

mapKeyPropertyNameback to summary
private String mapKeyPropertyName

Constructor Detail

Mapback to summary
public Map(MetadataBuildingContext buildingContext, PersistentClass owner)
Mapback to summary
public Map(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext)
Mapback to summary
private Map(Map original)

Method Detail

acceptback to summary
public Object accept(ValueVisitor visitor)

Implements org.hibernate.mapping.Value.accept.

copyback to summary
public Map copy()

Implements org.hibernate.mapping.Value.copy.

Annotations
@Override
createAllKeysback to summary
public void createAllKeys() throws MappingException

Overrides org.hibernate.mapping.Collection.createAllKeys.

getDefaultCollectionTypeback to summary
public CollectionType getDefaultCollectionType()

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

getMapKeyPropertyNameback to summary
public String getMapKeyPropertyName()
isMapback to summary
public boolean isMap()

Overrides org.hibernate.mapping.Collection.isMap.

setMapKeyPropertyNameback to summary
public void setMapKeyPropertyName(String mapKeyPropertyName)