类 Array
- java.lang.Object
-
- org.hibernate.mapping.Collection
-
- org.hibernate.mapping.IndexedCollection
-
- org.hibernate.mapping.List
-
- org.hibernate.mapping.Array
-
- 所有已实现的接口:
Serializable,Fetchable,Filterable,Value
- 直接已知子类:
PrimitiveArray
public class Array extends List
An array mapping has a primary key consisting of the key columns + index column.- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 org.hibernate.mapping.IndexedCollection
DEFAULT_INDEX_COLUMN_NAME
-
从类继承的字段 org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
-
-
构造器概要
构造器 构造器 说明 Array(MetadataBuildingContext buildingContext, PersistentClass owner)Array(MetadataImplementor metadata, PersistentClass owner)已过时。UseArray(MetadataBuildingContext, PersistentClass)instead.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Objectaccept(ValueVisitor visitor)CollectionTypegetDefaultCollectionType()ClassgetElementClass()StringgetElementClassName()booleanisArray()voidsetElementClassName(String elementClassName)-
从类继承的方法 org.hibernate.mapping.List
getBaseIndex, isList, setBaseIndex
-
从类继承的方法 org.hibernate.mapping.IndexedCollection
getIndex, isIndexed, isSame, isSame, setIndex, validate
-
从类继承的方法 org.hibernate.mapping.Collection
addFilter, 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, isSame, isSame, 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, toString
-
-
-
-
构造器详细资料
-
Array
@Deprecated public Array(MetadataImplementor metadata, PersistentClass owner)
已过时。UseArray(MetadataBuildingContext, PersistentClass)instead.
-
Array
public Array(MetadataBuildingContext buildingContext, PersistentClass owner)
-
-
方法详细资料
-
getElementClass
public Class getElementClass() throws MappingException
- 抛出:
MappingException
-
getDefaultCollectionType
public CollectionType getDefaultCollectionType() throws MappingException
- 覆盖:
getDefaultCollectionType在类中List- 抛出:
MappingException
-
isArray
public boolean isArray()
- 覆盖:
isArray在类中Collection
-
getElementClassName
public String getElementClassName()
- 返回:
- Returns the elementClassName.
-
setElementClassName
public void setElementClassName(String elementClassName)
- 参数:
elementClassName- The elementClassName to set.
-
-