public abstract class IdentifierCollection extends Collection
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_IDENTIFIER_COLUMN_NAME |
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME| Constructor and Description |
|---|
IdentifierCollection(MetadataBuildingContext buildingContext,
PersistentClass owner) |
IdentifierCollection(MetadataImplementor metadata,
PersistentClass owner)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
KeyValue |
getIdentifier() |
boolean |
isIdentified() |
boolean |
isSame(Collection other) |
boolean |
isSame(IdentifierCollection other) |
void |
setIdentifier(KeyValue identifier) |
void |
validate(Mapping mapping) |
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, toStringpublic static final String DEFAULT_IDENTIFIER_COLUMN_NAME
@Deprecated public IdentifierCollection(MetadataImplementor metadata, PersistentClass owner)
IdentifierCollection(MetadataBuildingContext, PersistentClass) instead.public IdentifierCollection(MetadataBuildingContext buildingContext, PersistentClass owner)
public KeyValue getIdentifier()
public void setIdentifier(KeyValue identifier)
public final boolean isIdentified()
isIdentified in class Collectionpublic boolean isSame(Collection other)
isSame in class Collectionpublic boolean isSame(IdentifierCollection other)
public void validate(Mapping mapping) throws MappingException
validate in class CollectionMappingExceptionCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.