Top Description Fields Constructors Methods
org.hibernate.mapping

public Class Array

extends List
Class Inheritance
Known Direct Subclasses
org.hibernate.mapping.PrimitiveArray
Imports
org.hibernate.MappingException, org.hibernate.cfg.Mappings, org.hibernate.type.CollectionType, .PrimitiveType, .TypeFactory, org.hibernate.util.ReflectHelper

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
Array(Mappings mappings, PersistentClass owner)

Method Summary

Modifier and TypeMethod and Description
public Object
public CollectionType
public Class<T>
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(Mappings mappings, PersistentClass owner)

Method Detail

acceptback to summary
public Object accept(ValueVisitor visitor)

Overrides org.hibernate.mapping.List.accept.

Implements org.hibernate.mapping.Value.accept.

getDefaultCollectionTypeback to summary
public CollectionType getDefaultCollectionType() throws MappingException

Overrides org.hibernate.mapping.List.getDefaultCollectionType.

getElementClassback to summary
public Class<T> 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.

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

The elementClassName to set.