org.hibernate.mapping
Class Map

java.lang.Object
  extended by org.hibernate.mapping.Collection
      extended by org.hibernate.mapping.IndexedCollection
          extended by 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
Map(PersistentClass owner)
           
 
Method Summary
 Object accept(ValueVisitor visitor)
           
 void createAllKeys()
           
 CollectionType getDefaultCollectionType()
           
 boolean isMap()
           
 
Methods inherited from class org.hibernate.mapping.IndexedCollection
getIndex, getIndexNodeName, isIndexed, isList, setIndex, setIndexNodeName, 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, getElementNodeName, getFetchMode, getFilterMap, getKey, getLoaderName, getManyToManyFilterMap, getManyToManyOrdering, getManyToManyWhere, getNodeName, getOrderBy, getOwner, getOwnerEntityName, getReferencedPropertyName, getRole, getSynchronizedTables, getTable, getType, getTypeName, getTypeParameters, getWhere, hasFormula, hasOrder, hasOrphanDelete, isAlternateUniqueKey, isArray, isCustomDeleteAllCallable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isEmbedded, isExtraLazy, isIdentified, isInverse, isLazy, isMutable, isNullable, isOneToMany, isOptimisticLocked, isPrimitiveArray, isSet, isSimpleValue, isSorted, isSubselectLoadable, isValid, setBatchSize, setCacheConcurrencyStrategy, setCacheRegionName, setCollectionPersisterClass, setCollectionTable, setComparator, setComparatorClassName, setCustomSQLDelete, setCustomSQLDeleteAll, setCustomSQLInsert, setCustomSQLUpdate, setElement, setElementNodeName, setEmbedded, setExtraLazy, setFetchMode, setInverse, setKey, setLazy, setLoaderName, setManyToManyOrdering, setManyToManyWhere, setMutable, setNodeName, setOptimisticLocked, setOrderBy, setOrphanDelete, setOwner, setReferencedPropertyName, setRole, setSorted, setSubselectLoadable, setTypeName, setTypeParameters, setTypeUsingReflection, setWhere, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Map

public Map(PersistentClass owner)
Method Detail

isMap

public boolean isMap()
Overrides:
isMap in class Collection

getDefaultCollectionType

public CollectionType getDefaultCollectionType()
Specified by:
getDefaultCollectionType in class Collection

createAllKeys

public void createAllKeys()
                   throws MappingException
Overrides:
createAllKeys in class Collection
Throws:
MappingException

accept

public Object accept(ValueVisitor visitor)


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.