Top Description Fields Constructors Methods
org.hibernate.mapping

public Class Array

extends List
Class Inheritance
Known Direct Subclasses
org.hibernate.mapping.PrimitiveArray
Imports
java.util.function.Supplier, org.hibernate.MappingException, org.hibernate.boot.registry.classloading.spi.ClassLoaderService, .ClassLoadingException, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.resource.beans.spi.ManagedBean, org.hibernate.type.ArrayType, .BasicType, .CollectionType, org.hibernate.type.descriptor.java.spi.PrimitiveJavaType, org.hibernate.usertype.UserCollectionType

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

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

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

protected
Array(Array original)

Method Summary

Modifier and TypeMethod and Description
public Object
public Array
public CollectionType
public Class<?>
public String

Returns:

Returns the elementClassName.
getElementClassName
()

public boolean
public void
setElementClassName(String
The elementClassName to set.
elementClassName
)

Inherited from org.hibernate.mapping.List:
getBaseIndexisListsetBaseIndex

Field Detail

elementClassNameback to summary
private String elementClassName

Constructor Detail

Arrayback to summary
public Array(MetadataBuildingContext buildingContext, PersistentClass owner)
Arrayback to summary
public Array(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext)
Arrayback to summary
protected Array(Array original)

Method Detail

acceptback to summary
public Object accept(ValueVisitor visitor)

Overrides org.hibernate.mapping.List.accept.

Implements org.hibernate.mapping.Value.accept.

Annotations
@Override
copyback to summary
public Array copy()

Overrides org.hibernate.mapping.List.copy.

Implements org.hibernate.mapping.Value.copy.

Annotations
@Override
getDefaultCollectionTypeback to summary
public CollectionType getDefaultCollectionType() throws MappingException

Overrides org.hibernate.mapping.List.getDefaultCollectionType.

Annotations
@Override
getElementClassback to summary
public Class<?> getElementClass() throws MappingException
getElementClassNameback to summary
public String getElementClassName()
Returns:String

Returns the elementClassName.

isArrayback to summary
public boolean isArray()

Overrides org.hibernate.mapping.Collection.isArray.

Annotations
@Override
setElementClassNameback to summary
public void setElementClassName(String elementClassName)
Parameters
elementClassName:String

The elementClassName to set.