Interface BasicEntityIdentifierMapping
- All Superinterfaces:
AttributeMapping, AttributeMetadata, BasicValuedMapping, BasicValuedModelPart, Bindable, DatabaseSnapshotContributor, EntityIdentifierMapping, Fetchable, JavaTypedExpressible, JdbcMappingContainer, MappingModelExpressible, ModelPart, MutabilityPlanExposer, OwnedValuedModelPart, PropertyBasedMapping, SelectableMapping, SelectableMappings, org.hibernate.metamodel.mapping.internal.SingleAttributeIdentifierMapping, SqlExpressible, SqlTypedMapping, ValuedModelPart, ValueMapping
public interface BasicEntityIdentifierMapping
extends org.hibernate.metamodel.mapping.internal.SingleAttributeIdentifierMapping, BasicValuedModelPart
Mapping for a simple, single-column identifier
-
Nested Class Summary
Nested classes/interfaces inherited from interface Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface EntityIdentifierMapping
EntityIdentifierMapping.NatureNested classes/interfaces inherited from interface ModelPart
ModelPart.JdbcValueBiConsumer<X,Y>, ModelPart.JdbcValueConsumer -
Field Summary
Fields inherited from interface EntityIdentifierMapping
ID_ROLE_NAME, LEGACY_ID_NAME -
Method Summary
Modifier and TypeMethodDescriptiondefault intThe key that identifies this Fetchable within aFetchableContainer.booleanbooleanIs the mapping considered nullable?Methods inherited from interface AttributeMapping
asAttributeMapping, asEmbeddedAttributeMapping, asPluralAttributeMapping, compare, findContainingEntityMapping, getExposedMutabilityPlan, getValue, isEmbeddedAttributeMapping, isPluralAttributeMapping, setValueMethods inherited from interface AttributeMetadata
getCascadeStyleMethods inherited from interface BasicValuedMapping
addToCacheKey, disassemble, getJdbcMappingMethods inherited from interface BasicValuedModelPart
asBasicValuedModelPart, forEachSelectable, forEachSelectable, getJdbcMapping, getJdbcTypeCount, getPartMappingType, getSelectable, getSingleJdbcMapping, hasPartitionedSelectionMappingMethods inherited from interface Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface DatabaseSnapshotContributor
createSnapshotDomainResultMethods inherited from interface EntityIdentifierMapping
getIdentifier, getIdentifier, getIdentifierIfNotUnsaved, getNature, getUnsavedStrategy, instantiate, isEntityIdentifierMapping, setIdentifierMethods inherited from interface Fetchable
generateFetch, getFetchableName, getMappedFetchOptions, incrementFetchDepth, resolveCircularFetchMethods inherited from interface JavaTypedExpressible
addToCacheKeyMethods inherited from interface JdbcMappingContainer
forEachJdbcTypeMethods inherited from interface ModelPart
applySqlSelections, applySqlSelections, areEqual, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, getJavaType, getNavigableRole, isVirtualMethods inherited from interface SelectableMapping
getContainingTableExpression, getCustomReadExpression, getCustomWriteExpression, getSelectableName, getSelectablePath, getSelectionExpression, getWriteExpression, isFormula, isPartitioned, isUpdateableMethods inherited from interface org.hibernate.metamodel.mapping.internal.SingleAttributeIdentifierMapping
getAttributeMetadata, getAttributeName, getDeclaringType, getGenerator, getMutabilityPlan, getPartName, getPropertyAccess, getStateArrayPosition, isIncludedInDirtyChecking, isIncludedInOptimisticLocking, isSelectable, isUpdatableMethods inherited from interface SqlTypedMapping
getArrayLength, getColumnDefinition, getJdbcMapping, getLength, getPrecision, getScale, getTemporalPrecision, isLob, toSizeMethods inherited from interface ValuedModelPart
forEachInsertable, forEachNonFormula, forEachUpdatable, getContainingTableExpression, getJdbcTypeCount, getSingleJdbcMappingMethods inherited from interface ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
Method Details
-
getFetchableKey
default int getFetchableKey()Description copied from interface:FetchableThe key that identifies this Fetchable within aFetchableContainer. If this Fetchable is part ofFetchableContainer.visitFetchables(IndexedConsumer, EntityMappingType), the values is guaranteed to be between 0 (inclusive) andFetchableContainer.getNumberOfFetchableKeys()(exclusive). Other Fetchable objects may have a special negative value.The main intent of this key is to index e.g.
Fetchobjects in an array.- Specified by:
getFetchableKeyin interfaceFetchable
-
isNullable
boolean isNullable()Description copied from interface:SelectableMappingIs the mapping considered nullable?- Specified by:
isNullablein interfaceAttributeMetadata- Specified by:
isNullablein interfaceSelectableMapping- Specified by:
isNullablein interfaceorg.hibernate.metamodel.mapping.internal.SingleAttributeIdentifierMapping
-
isInsertable
boolean isInsertable()- Specified by:
isInsertablein interfaceAttributeMetadata- Specified by:
isInsertablein interfaceSelectableMapping- Specified by:
isInsertablein interfaceorg.hibernate.metamodel.mapping.internal.SingleAttributeIdentifierMapping
-