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,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.JdbcValuesConsumer
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.IndexedJdbcValueConsumer, ModelPart.JdbcValueConsumer
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeMetadatagetAttributeMetadata()Access to AttributeMetadataStringgetFetchableName()The name of the fetchable.FetchOptionsgetMappedFetchOptions()The configured fetch timing and styleintgetStateArrayPosition()The attribute's position within the container's state arrayFetchStylegetStyle()FetchTiminggetTiming()-
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, getExposedMutabilityPlan, getGenerator, getPartName, getPropertyAccess, 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, 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, getNavigableRole, 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
-
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)
-
-
Method Detail
-
getStateArrayPosition
public int getStateArrayPosition()
Description copied from interface:AttributeMappingThe attribute's position within the container's state array- Specified by:
getStateArrayPositionin interfaceAttributeMapping
-
getAttributeMetadata
public AttributeMetadata getAttributeMetadata()
Description copied from interface:AttributeMappingAccess to AttributeMetadata- Specified by:
getAttributeMetadatain interfaceAttributeMapping
-
getFetchableName
public String getFetchableName()
Description copied from interface:FetchableThe name of the fetchable. This is the part's "local name".- Specified by:
getFetchableNamein interfaceFetchable- See Also:
ModelPart.getNavigableRole(),NavigableRole.getLocalName()
-
getMappedFetchOptions
public FetchOptions getMappedFetchOptions()
Description copied from interface:FetchableThe configured fetch timing and style- Specified by:
getMappedFetchOptionsin interfaceFetchable
-
getStyle
public FetchStyle getStyle()
- Specified by:
getStylein interfaceFetchStyleAccess
-
getTiming
public FetchTiming getTiming()
- Specified by:
getTimingin interfaceFetchTimingAccess
-
-