public class Map extends IndexedCollection
A map has a primary key consisting of the key columns + index columns.
DEFAULT_INDEX_COLUMN_NAMEDEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME| Constructor and Description |
|---|
Map(MetadataBuildingContext buildingContext,
PersistentClass owner) |
Map(MetadataImplementor metadata,
PersistentClass owner)
Deprecated.
Use
Map(MetadataBuildingContext, PersistentClass) instead. |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(ValueVisitor visitor) |
void |
createAllKeys() |
CollectionType |
getDefaultCollectionType() |
boolean |
isMap() |
getIndex, isIndexed, isList, isSame, isSame, setIndex, validateaddFilter, 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@Deprecated public Map(MetadataImplementor metadata, PersistentClass owner)
Map(MetadataBuildingContext, PersistentClass) instead.public Map(MetadataBuildingContext buildingContext, PersistentClass owner)
public boolean isMap()
isMap in class Collectionpublic CollectionType getDefaultCollectionType()
getDefaultCollectionType in class Collectionpublic void createAllKeys()
throws MappingException
createAllKeys in class CollectionMappingExceptionpublic Object accept(ValueVisitor visitor)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.