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,DiscriminatorMapping,EmbeddableDiscriminatorMapping,EmbeddableValuedFetchable,EmbeddableValuedModelPart,EntityCollectionPart,EntityDiscriminatorMapping,EntityIdentifierMapping,EntityRowIdMapping,EntityVersionMapping,ForeignKeyDescriptor,NonAggregatedIdentifierMapping,OwnedValuedModelPart,PluralAttributeMapping,SingleAttributeIdentifierMapping,SingularAttributeMapping
- All Known Implementing Classes:
AbstractAttributeMapping,AbstractCompositeIdentifierMapping,AbstractDiscriminatorMapping,AbstractEntityCollectionPart,AbstractSingularAttributeMapping,AbstractStateArrayContributorMapping,AnonymousTupleBasicEntityIdentifierMapping,AnonymousTupleBasicValuedModelPart,AnonymousTupleEmbeddableValuedModelPart,AnonymousTupleEmbeddedEntityIdentifierMapping,AnonymousTupleEntityValuedModelPart,AnonymousTupleNonAggregatedEntityIdentifierMapping,AnyDiscriminatorPart,AnyKeyPart,BasicAttributeMapping,BasicEntityIdentifierMappingImpl,BasicValuedCollectionPart,CaseStatementDiscriminatorMappingImpl,CollectionIdentifierDescriptorImpl,DiscriminatedAssociationAttributeMapping,DiscriminatedCollectionPart,EmbeddedAttributeMapping,EmbeddedCollectionPart,EmbeddedForeignKeyDescriptor,EmbeddedIdentifierMappingImpl,EntityRowIdMappingImpl,EntityVersionMappingImpl,ExplicitColumnDiscriminatorMappingImpl,InverseNonAggregatedIdentifierMapping,ManyToManyCollectionPart,NonAggregatedIdentifierMappingImpl,OneToManyCollectionPart,PluralAttributeMappingImpl,SimpleForeignKeyDescriptor,ToOneAttributeMapping,VirtualEmbeddedAttributeMapping
-
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 -
Method Summary
Modifier and TypeMethodDescriptiondefault voidforEachInsertable(SelectableConsumer consumer) default voidforEachNonFormula(SelectableConsumer consumer) default intforEachSelectable(int offset, SelectableConsumer consumer) Visits each selectable mapping with the selectable index offset by the given value.default intforEachSelectable(SelectableConsumer consumer) A short hand form ofModelPart.forEachSelectable(int, SelectableConsumer), that passes 0 as offset.default voidforEachUpdatable(SelectableConsumer consumer) The table which contains the columns mapped by this valuedefault intThe number of JDBC mappingsdefault JdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface org.hibernate.type.descriptor.java.JavaTypedExpressible
addToCacheKeyMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, asAttributeMapping, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, findContainingEntityMapping, getJavaType, getNavigableRole, getPartMappingType, getPartName, hasPartitionedSelectionMapping, isEntityIdentifierMapping, isVirtualMethods inherited from interface org.hibernate.metamodel.mapping.SelectableMappings
getSelectableMethods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
Method Details
-
getContainingTableExpression
String getContainingTableExpression()The table which contains the columns mapped by this value -
getJdbcTypeCount
default int getJdbcTypeCount()Description copied from interface:BindableThe number of JDBC mappings- Specified by:
getJdbcTypeCountin interfaceBindable- Specified by:
getJdbcTypeCountin interfaceJdbcMappingContainer- Specified by:
getJdbcTypeCountin interfaceSelectableMappings
-
getSingleJdbcMapping
- Specified by:
getSingleJdbcMappingin interfaceJdbcMappingContainer
-
forEachSelectable
Description copied from interface:ModelPartVisits each selectable mapping with the selectable index offset by the given value. Returns the amount of jdbc types that have been visited.- Specified by:
forEachSelectablein interfaceModelPart- Specified by:
forEachSelectablein interfaceSelectableMappings- See Also:
-
forEachSelectable
Description copied from interface:ModelPartA short hand form ofModelPart.forEachSelectable(int, SelectableConsumer), that passes 0 as offset.- Specified by:
forEachSelectablein interfaceModelPart- Specified by:
forEachSelectablein interfaceSelectableMappings
-
forEachInsertable
-
forEachNonFormula
-
forEachUpdatable
-