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
,OwnedValuedModelPart
,PropertyBasedMapping
,SelectableMappings
,ValuedModelPart
,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.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueBiConsumer<X,Y>, ModelPart.JdbcValueConsumer
-
-
Constructor Summary
Constructors Modifier Constructor Description AbstractStateArrayContributorMapping(String name, AttributeMetadata attributeMetadata, FetchTiming fetchTiming, FetchStyle fetchStyle, int stateArrayPosition, int fetchableIndex, ManagedMappingType declaringType)
AbstractStateArrayContributorMapping(String name, AttributeMetadata attributeMetadata, FetchOptions mappedFetchOptions, int stateArrayPosition, int fetchableIndex, ManagedMappingType declaringType)
protected
AbstractStateArrayContributorMapping(AbstractStateArrayContributorMapping original)
For Hibernate Reactive
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeMetadata
getAttributeMetadata()
Access to AttributeMetadataString
getFetchableName()
The name of the fetchable.FetchOptions
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, 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, asEmbeddedAttributeMapping, asPluralAttributeMapping, compare, findContainingEntityMapping, getExposedMutabilityPlan, getGenerator, getPartName, getPropertyAccess, getValue, isEmbeddedAttributeMapping, isPluralAttributeMapping, setValue
-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue
-
Methods inherited from interface org.hibernate.sql.results.graph.DatabaseSnapshotContributor
createSnapshotDomainResult
-
Methods inherited from interface org.hibernate.sql.results.graph.Fetchable
generateFetch, incrementFetchDepth, isSelectable, resolveCircularFetch
-
Methods inherited from interface org.hibernate.type.descriptor.java.JavaTypedExpressible
addToCacheKey
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcMapping
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, getNavigableRole, hasPartitionedSelectionMapping, isEntityIdentifierMapping, isVirtual
-
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableMappings
getSelectable
-
Methods inherited from interface org.hibernate.metamodel.mapping.ValuedModelPart
forEachInsertable, forEachNonFormula, forEachSelectable, forEachSelectable, forEachUpdatable, getContainingTableExpression, getJdbcTypeCount, getSingleJdbcMapping
-
Methods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
-
-
-
Constructor Detail
-
AbstractStateArrayContributorMapping
public AbstractStateArrayContributorMapping(String name, AttributeMetadata attributeMetadata, FetchTiming fetchTiming, FetchStyle fetchStyle, int stateArrayPosition, int fetchableIndex, ManagedMappingType declaringType)
-
AbstractStateArrayContributorMapping
public AbstractStateArrayContributorMapping(String name, AttributeMetadata attributeMetadata, FetchOptions mappedFetchOptions, int stateArrayPosition, int fetchableIndex, ManagedMappingType declaringType)
-
AbstractStateArrayContributorMapping
protected AbstractStateArrayContributorMapping(AbstractStateArrayContributorMapping original)
For Hibernate Reactive
-
-
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
-
getAttributeMetadata
public AttributeMetadata getAttributeMetadata()
Description copied from interface:AttributeMapping
Access to AttributeMetadata- Specified by:
getAttributeMetadata
in interfaceAttributeMapping
-
getFetchableName
public String getFetchableName()
Description copied from interface:Fetchable
The name of the fetchable. This is the part's "local name".- Specified by:
getFetchableName
in interfaceFetchable
- See Also:
ModelPart.getNavigableRole()
,NavigableRole.getLocalName()
-
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
-
-