Top Description Fields Constructors Methods
org.hibernate.mapping

public Class List

extends IndexedCollection
Class Inheritance
Known Direct Subclasses
org.hibernate.mapping.Array
Imports
org.hibernate.MappingException, org.hibernate.boot.spi.MetadataBuildingContext, .MetadataImplementor, org.hibernate.type.CollectionType

A list mapping has a primary key consisting of the key columns + index column.
Author
Gavin King

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public Object
public int
public CollectionType
public boolean
public void
setBaseIndex(int baseIndex)

Inherited from org.hibernate.mapping.IndexedCollection:
createPrimaryKeygetIndexisIndexedisSameisSamesetIndexvalidate

Field Detail

baseIndexback to summary
private int baseIndex

Constructor Detail

Listback to summary
public List(MetadataImplementor metadata, PersistentClass owner)
Annotations
@Deprecated
Listback to summary
public List(MetadataBuildingContext buildingContext, PersistentClass owner)

Method Detail

acceptback to summary
public Object accept(ValueVisitor visitor)

Implements org.hibernate.mapping.Value.accept.

getBaseIndexback to summary
public int getBaseIndex()
getDefaultCollectionTypeback to summary
public CollectionType getDefaultCollectionType() throws MappingException

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

isListback to summary
public boolean isList()

Overrides org.hibernate.mapping.IndexedCollection.isList.

setBaseIndexback to summary
public void setBaseIndex(int baseIndex)