Package org.hibernate.metamodel.mapping
Interface ValuedModelPart
-
- All Superinterfaces:
Bindable
,JavaTypedExpressible
,JdbcMappingContainer
,MappingModelExpressible
,ModelPart
,SelectableMappings
,ValueMapping
- All Known Subinterfaces:
AggregatedIdentifierMapping
,AttributeMapping
,BasicEntityIdentifierMapping
,BasicValuedModelPart
,CollectionIdentifierDescriptor
,CollectionPart
,CompositeIdentifierMapping
,EmbeddableValuedFetchable
,EmbeddableValuedModelPart
,EntityCollectionPart
,EntityDiscriminatorMapping
,EntityIdentifierMapping
,EntityVersionMapping
,ForeignKeyDescriptor
,NonAggregatedIdentifierMapping
,PluralAttributeMapping
,SingleAttributeIdentifierMapping
,SingularAttributeMapping
- All Known Implementing Classes:
AbstractAttributeMapping
,AbstractCompositeIdentifierMapping
,AbstractDiscriminatorMapping
,AbstractEntityCollectionPart
,AbstractSingularAttributeMapping
,AbstractStateArrayContributorMapping
,AnonymousTupleBasicEntityIdentifierMapping
,AnonymousTupleBasicValuedModelPart
,AnonymousTupleEmbeddableValuedModelPart
,AnonymousTupleEmbeddedEntityIdentifierMapping
,AnonymousTupleNonAggregatedEntityIdentifierMapping
,AnyDiscriminatorPart
,AnyKeyPart
,BasicAttributeMapping
,BasicEntityIdentifierMappingImpl
,BasicValuedCollectionPart
,CaseStatementDiscriminatorMappingImpl
,CollectionIdentifierDescriptorImpl
,DiscriminatedAssociationAttributeMapping
,DiscriminatedCollectionPart
,EmbeddedAttributeMapping
,EmbeddedCollectionPart
,EmbeddedForeignKeyDescriptor
,EmbeddedIdentifierMappingImpl
,EntityVersionMappingImpl
,ExplicitColumnDiscriminatorMappingImpl
,InverseNonAggregatedIdentifierMapping
,ManyToManyCollectionPart
,NonAggregatedIdentifierMappingImpl
,OneToManyCollectionPart
,PluralAttributeMappingImpl
,SimpleForeignKeyDescriptor
,ToOneAttributeMapping
,VirtualEmbeddedAttributeMapping
public interface ValuedModelPart extends ModelPart, ValueMapping, SelectableMappings
-
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
forEachInsertable(SelectableConsumer consumer)
default int
forEachSelectable(int offset, SelectableConsumer consumer)
Visit each contained selectable mapping.default int
forEachSelectable(SelectableConsumer consumer)
Same asSelectableMappings.forEachSelectable(int, SelectableConsumer)
, with an implicit offset of `0`default void
forEachUpdatable(SelectableConsumer consumer)
String
getContainingTableExpression()
The table which contains the columns mapped by this valuedefault List<JdbcMapping>
getJdbcMappings()
The list of JDBC mappingsdefault int
getJdbcTypeCount()
The number of JDBC mappings-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, asAttributeMapping, breakDownJdbcValues, createDomainResult, decompose, findContainingEntityMapping, getJavaType, getNavigableRole, getPartMappingType, getPartName, hasPartitionedSelectionMapping, isVirtual
-
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableMappings
getSelectable
-
Methods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
-
-
-
Method Detail
-
getContainingTableExpression
String getContainingTableExpression()
The table which contains the columns mapped by this value
-
getJdbcTypeCount
default int getJdbcTypeCount()
Description copied from interface:Bindable
The number of JDBC mappings- Specified by:
getJdbcTypeCount
in interfaceBindable
- Specified by:
getJdbcTypeCount
in interfaceJdbcMappingContainer
- Specified by:
getJdbcTypeCount
in interfaceSelectableMappings
-
getJdbcMappings
default List<JdbcMapping> getJdbcMappings()
Description copied from interface:Bindable
The list of JDBC mappings- Specified by:
getJdbcMappings
in interfaceBindable
- Specified by:
getJdbcMappings
in interfaceJdbcMappingContainer
- Specified by:
getJdbcMappings
in interfaceSelectableMappings
- See Also:
SqlTypedMapping.getJdbcMapping()
-
forEachSelectable
default int forEachSelectable(int offset, SelectableConsumer consumer)
Description copied from interface:SelectableMappings
Visit each contained selectable mapping. As the selectables are iterated, we call `SelectionConsumer` passing along `offset` + our current iteration index. The return is the number of selectables we directly contain- Specified by:
forEachSelectable
in interfaceModelPart
- Specified by:
forEachSelectable
in interfaceSelectableMappings
- See Also:
SelectableConsumer.accept(int, SelectableMapping)
-
forEachSelectable
default int forEachSelectable(SelectableConsumer consumer)
Description copied from interface:SelectableMappings
Same asSelectableMappings.forEachSelectable(int, SelectableConsumer)
, with an implicit offset of `0`- Specified by:
forEachSelectable
in interfaceModelPart
- Specified by:
forEachSelectable
in interfaceSelectableMappings
-
forEachInsertable
default void forEachInsertable(SelectableConsumer consumer)
-
forEachUpdatable
default void forEachUpdatable(SelectableConsumer consumer)
-
-