Class AbstractSingularAttributeMapping
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.AbstractAttributeMapping
-
- org.hibernate.metamodel.mapping.internal.AbstractStateArrayContributorMapping
-
- org.hibernate.metamodel.mapping.internal.AbstractSingularAttributeMapping
-
- All Implemented Interfaces:
AttributeMapping
,Bindable
,JdbcMappingContainer
,MappingModelExpressible
,ModelPart
,PropertyBasedMapping
,SingularAttributeMapping
,ValueMapping
,DatabaseSnapshotContributor
,Fetchable
,FetchOptions
,FetchStyleAccess
,FetchTimingAccess
,JavaTypedExpressible
,MutabilityPlanExposer
- Direct Known Subclasses:
BasicAttributeMapping
,DiscriminatedAssociationAttributeMapping
,EmbeddedAttributeMapping
,ToOneAttributeMapping
public abstract class AbstractSingularAttributeMapping extends AbstractStateArrayContributorMapping implements SingularAttributeMapping
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesConsumer
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueConsumer
-
-
Constructor Summary
Constructors Constructor Description AbstractSingularAttributeMapping(String name, int stateArrayPosition, AttributeMetadataAccess attributeMetadataAccess, FetchTiming fetchTiming, FetchStyle fetchStyle, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
AbstractSingularAttributeMapping(String name, int stateArrayPosition, AttributeMetadataAccess attributeMetadataAccess, FetchOptions mappedFetchOptions, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyAccess
getPropertyAccess()
The getter/setter access to this attributeValueGeneration
getValueGeneration()
The value generation strategy to use for this attribute.-
Methods inherited from class org.hibernate.metamodel.mapping.internal.AbstractStateArrayContributorMapping
getAttributeMetadataAccess, getFetchableName, getMappedFetchOptions, getStateArrayPosition, getStyle, getTiming
-
Methods inherited from class org.hibernate.metamodel.mapping.internal.AbstractAttributeMapping
getAttributeName, getDeclaringType, getJavaType, getPartMappingType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.mapping.AttributeMapping
asAttributeMapping, asEmbeddedAttributeMapping, asPluralAttributeMapping, findContainingEntityMapping, getAttributeMetadataAccess, getAttributeName, getDeclaringType, getExposedMutabilityPlan, getPartName, getStateArrayPosition, getValue, isEmbeddedAttributeMapping, isPluralAttributeMapping, setValue
-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, getJdbcMappings, getJdbcTypeCount
-
Methods inherited from interface org.hibernate.sql.results.graph.DatabaseSnapshotContributor
createSnapshotDomainResult
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetchable
generateFetch, getFetchableName, getMappedFetchOptions, incrementFetchDepth, resolveCircularFetch
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, breakDownJdbcValues, createDomainResult, forEachSelectable, forEachSelectable, getJavaType, getNavigableRole, getPartMappingType
-
Methods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
-
-
-
Constructor Detail
-
AbstractSingularAttributeMapping
public AbstractSingularAttributeMapping(String name, int stateArrayPosition, AttributeMetadataAccess attributeMetadataAccess, FetchOptions mappedFetchOptions, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
-
AbstractSingularAttributeMapping
public AbstractSingularAttributeMapping(String name, int stateArrayPosition, AttributeMetadataAccess attributeMetadataAccess, FetchTiming fetchTiming, FetchStyle fetchStyle, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
-
-
Method Detail
-
getPropertyAccess
public PropertyAccess getPropertyAccess()
Description copied from interface:AttributeMapping
The getter/setter access to this attribute- Specified by:
getPropertyAccess
in interfaceAttributeMapping
- Specified by:
getPropertyAccess
in interfacePropertyBasedMapping
-
getValueGeneration
public ValueGeneration getValueGeneration()
Description copied from interface:AttributeMapping
The value generation strategy to use for this attribute.- Specified by:
getValueGeneration
in interfaceAttributeMapping
-
-