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,SelectableMappings,SingularAttributeMapping,ValuedModelPart,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.IndexedJdbcValueConsumer, ModelPart.JdbcValueConsumer
-
-
Constructor Summary
Constructors Constructor Description AbstractSingularAttributeMapping(String name, int stateArrayPosition, int fetchableIndex, AttributeMetadata attributeMetadata, FetchTiming fetchTiming, FetchStyle fetchStyle, ManagedMappingType declaringType, PropertyAccess propertyAccess)AbstractSingularAttributeMapping(String name, int stateArrayPosition, int fetchableIndex, AttributeMetadata attributeMetadata, FetchOptions mappedFetchOptions, ManagedMappingType declaringType, PropertyAccess propertyAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneratorgetGenerator()The value generation strategy to use for this attribute.PropertyAccessgetPropertyAccess()The getter/setter access to this attribute-
Methods inherited from class org.hibernate.metamodel.mapping.internal.AbstractStateArrayContributorMapping
getAttributeMetadata, getFetchableName, getMappedFetchOptions, getStateArrayPosition, getStyle, getTiming
-
Methods inherited from class org.hibernate.metamodel.mapping.internal.AbstractAttributeMapping
getAttributeName, getDeclaringType, getFetchableKey, 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, compare, findContainingEntityMapping, getAttributeMetadata, getAttributeName, getDeclaringType, getExposedMutabilityPlan, getPartName, getStateArrayPosition, getValue, setValue
-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue
-
Methods inherited from interface org.hibernate.sql.results.graph.DatabaseSnapshotContributor
createSnapshotDomainResult
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetchable
generateFetch, getFetchableKey, 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, decompose, getJavaType, getNavigableRole, getPartMappingType, hasPartitionedSelectionMapping, isVirtual
-
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableMappings
getSelectable
-
Methods inherited from interface org.hibernate.metamodel.mapping.ValuedModelPart
forEachInsertable, forEachSelectable, forEachSelectable, forEachUpdatable, getContainingTableExpression, getJdbcMappings, getJdbcTypeCount
-
Methods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
-
-
-
Constructor Detail
-
AbstractSingularAttributeMapping
public AbstractSingularAttributeMapping(String name, int stateArrayPosition, int fetchableIndex, AttributeMetadata attributeMetadata, FetchOptions mappedFetchOptions, ManagedMappingType declaringType, PropertyAccess propertyAccess)
-
AbstractSingularAttributeMapping
public AbstractSingularAttributeMapping(String name, int stateArrayPosition, int fetchableIndex, AttributeMetadata attributeMetadata, FetchTiming fetchTiming, FetchStyle fetchStyle, ManagedMappingType declaringType, PropertyAccess propertyAccess)
-
-
Method Detail
-
getPropertyAccess
public PropertyAccess getPropertyAccess()
Description copied from interface:AttributeMappingThe getter/setter access to this attribute- Specified by:
getPropertyAccessin interfaceAttributeMapping- Specified by:
getPropertyAccessin interfacePropertyBasedMapping
-
getGenerator
public Generator getGenerator()
Description copied from interface:AttributeMappingThe value generation strategy to use for this attribute.- Specified by:
getGeneratorin interfaceAttributeMapping
-
-