Interface SingleAttributeIdentifierMapping
- All Superinterfaces:
AttributeMapping, AttributeMetadata, Bindable, DatabaseSnapshotContributor, EntityIdentifierMapping, Fetchable, JavaTypedExpressible, JdbcMappingContainer, MappingModelExpressible, ModelPart, MutabilityPlanExposer, OwnedValuedModelPart, PropertyBasedMapping, SelectableMappings, SingularAttributeMapping, ValuedModelPart, ValueMapping
- All Known Subinterfaces:
AggregatedIdentifierMapping, BasicEntityIdentifierMapping
public interface SingleAttributeIdentifierMapping
extends EntityIdentifierMapping, PropertyBasedMapping, SingularAttributeMapping, AttributeMetadata
-
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 AttributeMetadataAccess to AttributeMetadata, ornullfor a synthetic attribute without metadata.The name of the attribute defining the id, if onedefault ManagedMappingTypeThe managed type that declares this attribute, ornullfor a synthetic attribute.default GeneratorThe value generation strategy to use for this attribute.default MutabilityPlandefault StringThe local part name, which is generally the unqualified role nameAccess to the identifier attribute's PropertyAccessdefault intThe attribute's position within the container's state arraydefault booleandefault booleandefault booleandefault booleandefault booleandefault booleanMethods inherited from interface AttributeMapping
asAttributeMapping, asEmbeddedAttributeMapping, asPluralAttributeMapping, compare, findContainingEntityMapping, getExposedMutabilityPlan, getValue, isEmbeddedAttributeMapping, isPluralAttributeMapping, setValueMethods inherited from interface AttributeMetadata
getCascadeStyleMethods inherited from interface Bindable
addToCacheKey, disassemble, 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, getFetchableKey, getFetchableName, getMappedFetchOptions, incrementFetchDepth, resolveCircularFetchMethods inherited from interface JavaTypedExpressible
addToCacheKeyMethods inherited from interface JdbcMappingContainer
forEachJdbcType, getJdbcMappingMethods inherited from interface ModelPart
applySqlSelections, applySqlSelections, areEqual, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, getJavaType, getNavigableRole, getPartMappingType, hasPartitionedSelectionMapping, isVirtualMethods inherited from interface SelectableMappings
getSelectableMethods inherited from interface ValuedModelPart
forEachColumn, forEachInsertable, forEachNonFormula, forEachSelectable, forEachSelectable, forEachUpdatable, getContainingTableExpression, getJdbcTypeCount, getSingleJdbcMappingMethods inherited from interface ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
Method Details
-
getPropertyAccess
Access to the identifier attribute's PropertyAccess- Specified by:
getPropertyAccessin interfaceAttributeMapping- Specified by:
getPropertyAccessin interfaceAttributeMetadata- Specified by:
getPropertyAccessin interfacePropertyBasedMapping
-
getAttributeName
Description copied from interface:EntityIdentifierMappingThe name of the attribute defining the id, if one- Specified by:
getAttributeNamein interfaceAttributeMapping- Specified by:
getAttributeNamein interfaceEntityIdentifierMapping
-
getPartName
Description copied from interface:ModelPartThe local part name, which is generally the unqualified role name- Specified by:
getPartNamein interfaceAttributeMapping- Specified by:
getPartNamein interfaceEntityIdentifierMapping- Specified by:
getPartNamein interfaceModelPart
-
getGenerator
Description copied from interface:AttributeMappingThe value generation strategy to use for this attribute.- Specified by:
getGeneratorin interfaceAttributeMapping
-
getStateArrayPosition
default int getStateArrayPosition()Description copied from interface:AttributeMappingThe attribute's position within the container's state array- Specified by:
getStateArrayPositionin interfaceAttributeMapping
-
getAttributeMetadata
Description copied from interface:AttributeMappingAccess to AttributeMetadata, ornullfor a synthetic attribute without metadata.- Specified by:
getAttributeMetadatain interfaceAttributeMapping
-
getDeclaringType
Description copied from interface:AttributeMappingThe managed type that declares this attribute, ornullfor a synthetic attribute.- Specified by:
getDeclaringTypein interfaceAttributeMapping- Specified by:
getDeclaringTypein interfaceOwnedValuedModelPart
-
isSelectable
default boolean isSelectable()- Specified by:
isSelectablein interfaceAttributeMetadata- Specified by:
isSelectablein interfaceFetchable
-
isNullable
default boolean isNullable()- Specified by:
isNullablein interfaceAttributeMetadata
-
isInsertable
default boolean isInsertable()- Specified by:
isInsertablein interfaceAttributeMetadata
-
isUpdatable
default boolean isUpdatable()- Specified by:
isUpdatablein interfaceAttributeMetadata
-
isIncludedInDirtyChecking
default boolean isIncludedInDirtyChecking()- Specified by:
isIncludedInDirtyCheckingin interfaceAttributeMetadata
-
isIncludedInOptimisticLocking
default boolean isIncludedInOptimisticLocking()- Specified by:
isIncludedInOptimisticLockingin interfaceAttributeMetadata
-
getMutabilityPlan
- Specified by:
getMutabilityPlanin interfaceAttributeMetadata
-