public class Array extends List
An array mapping has a primary key consisting of the key columns + index column.
DEFAULT_INDEX_COLUMN_NAMEDEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME| Constructor and Description |
|---|
Array(MetadataImplementor metadata,
PersistentClass owner) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(ValueVisitor visitor) |
CollectionType |
getDefaultCollectionType() |
Class |
getElementClass() |
String |
getElementClassName() |
boolean |
isArray() |
void |
setElementClassName(String elementClassName) |
getBaseIndex, isList, setBaseIndexgetIndex, isIndexed, setIndex, validateaddFilter, addManyToManyFilter, createAllKeys, 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, isCustomDeleteAllCallable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isExtraLazy, isIdentified, isInverse, isLazy, isMap, isMutable, isNullable, isOneToMany, isOptimisticLocked, isPrimitiveArray, 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, toStringpublic Array(MetadataImplementor metadata, PersistentClass owner)
public Class getElementClass() throws MappingException
MappingExceptionpublic CollectionType getDefaultCollectionType() throws MappingException
getDefaultCollectionType in class ListMappingExceptionpublic boolean isArray()
isArray in class Collectionpublic String getElementClassName()
public void setElementClassName(String elementClassName)
elementClassName - The elementClassName to set.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.