类 IdentifierCollection
- java.lang.Object
-
- org.hibernate.mapping.Collection
-
- org.hibernate.mapping.IdentifierCollection
-
- 所有已实现的接口:
Serializable,Fetchable,Filterable,Value
- 直接已知子类:
IdentifierBag
public abstract class IdentifierCollection extends Collection
A collection with a synthetic "identifier" column- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringDEFAULT_IDENTIFIER_COLUMN_NAME-
从类继承的字段 org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
-
-
构造器概要
构造器 构造器 说明 IdentifierCollection(MetadataBuildingContext buildingContext, PersistentClass owner)IdentifierCollection(MetadataImplementor metadata, PersistentClass owner)已过时。
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 KeyValuegetIdentifier()booleanisIdentified()booleanisSame(Collection other)booleanisSame(IdentifierCollection other)voidsetIdentifier(KeyValue identifier)voidvalidate(Mapping mapping)-
从类继承的方法 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, getDefaultCollectionType, 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, isArray, isCustomDeleteAllCallable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isExtraLazy, isIndexed, 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
-
-
-
-
构造器详细资料
-
IdentifierCollection
@Deprecated public IdentifierCollection(MetadataImplementor metadata, PersistentClass owner)
已过时。
-
IdentifierCollection
public IdentifierCollection(MetadataBuildingContext buildingContext, PersistentClass owner)
-
-
方法详细资料
-
getIdentifier
public KeyValue getIdentifier()
-
setIdentifier
public void setIdentifier(KeyValue identifier)
-
isIdentified
public final boolean isIdentified()
- 覆盖:
isIdentified在类中Collection
-
isSame
public boolean isSame(Collection other)
- 覆盖:
isSame在类中Collection
-
isSame
public boolean isSame(IdentifierCollection other)
-
validate
public void validate(Mapping mapping) throws MappingException
- 覆盖:
validate在类中Collection- 抛出:
MappingException
-
-