Class AbstractStateArrayContributorMapping
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.AbstractAttributeMapping
-
- org.hibernate.metamodel.mapping.internal.AbstractStateArrayContributorMapping
-
- All Implemented Interfaces:
AttributeMapping
,Bindable
,JdbcMappingContainer
,MappingModelExpressible
,ModelPart
,PropertyBasedMapping
,ValueMapping
,DatabaseSnapshotContributor
,Fetchable
,FetchOptions
,FetchStyleAccess
,FetchTimingAccess
,JavaTypedExpressible
,MutabilityPlanExposer
- Direct Known Subclasses:
AbstractSingularAttributeMapping
public abstract class AbstractStateArrayContributorMapping extends AbstractAttributeMapping implements FetchOptions
-
-
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 AbstractStateArrayContributorMapping(String name, AttributeMetadataAccess attributeMetadataAccess, FetchTiming fetchTiming, FetchStyle fetchStyle, int stateArrayPosition, ManagedMappingType declaringType)
AbstractStateArrayContributorMapping(String name, AttributeMetadataAccess attributeMetadataAccess, FetchOptions mappedFetchOptions, int stateArrayPosition, ManagedMappingType declaringType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeMetadataAccess
getAttributeMetadataAccess()
Access to AttributeMetadataString
getFetchableName()
The name of the fetchableFetchOptions
getMappedFetchOptions()
The configured fetch timing and styleint
getStateArrayPosition()
The attribute's position within the container's state arrayFetchStyle
getStyle()
FetchTiming
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, getExposedMutabilityPlan, getPartName, getPropertyAccess, getValue, getValueGeneration, 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, 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, getNavigableRole
-
Methods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
-
-
-
Constructor Detail
-
AbstractStateArrayContributorMapping
public AbstractStateArrayContributorMapping(String name, AttributeMetadataAccess attributeMetadataAccess, FetchTiming fetchTiming, FetchStyle fetchStyle, int stateArrayPosition, ManagedMappingType declaringType)
-
AbstractStateArrayContributorMapping
public AbstractStateArrayContributorMapping(String name, AttributeMetadataAccess attributeMetadataAccess, FetchOptions mappedFetchOptions, int stateArrayPosition, ManagedMappingType declaringType)
-
-
Method Detail
-
getStateArrayPosition
public int getStateArrayPosition()
Description copied from interface:AttributeMapping
The attribute's position within the container's state array- Specified by:
getStateArrayPosition
in interfaceAttributeMapping
-
getAttributeMetadataAccess
public AttributeMetadataAccess getAttributeMetadataAccess()
Description copied from interface:AttributeMapping
Access to AttributeMetadata- Specified by:
getAttributeMetadataAccess
in interfaceAttributeMapping
-
getFetchableName
public String getFetchableName()
Description copied from interface:Fetchable
The name of the fetchable- Specified by:
getFetchableName
in interfaceFetchable
-
getMappedFetchOptions
public FetchOptions getMappedFetchOptions()
Description copied from interface:Fetchable
The configured fetch timing and style- Specified by:
getMappedFetchOptions
in interfaceFetchable
-
getStyle
public FetchStyle getStyle()
- Specified by:
getStyle
in interfaceFetchStyleAccess
-
getTiming
public FetchTiming getTiming()
- Specified by:
getTiming
in interfaceFetchTimingAccess
-
-