Top Description Methods
org.hibernate.metamodel.mapping

public Interface BasicValuedModelPart

extends BasicValuedMapping, ValuedModelPart, Fetchable, SelectableMapping
Known Direct Subinterfaces
org.hibernate.metamodel.mapping.CollectionIdentifierDescriptor, org.hibernate.metamodel.mapping.DiscriminatorMapping, org.hibernate.metamodel.mapping.EntityVersionMapping, org.hibernate.metamodel.mapping.BasicEntityIdentifierMapping
Known Direct Implementers
org.hibernate.metamodel.mapping.internal.AnyKeyPart, org.hibernate.metamodel.mapping.internal.BasicAttributeMapping, org.hibernate.metamodel.mapping.internal.BasicValuedCollectionPart, org.hibernate.metamodel.mapping.internal.SimpleForeignKeyDescriptor, org.hibernate.query.derived.AnonymousTupleBasicValuedModelPart
Imports
org.hibernate.sql.results.graph.Fetchable

Describes a ModelPart which is a basic value, either
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public default int
forEachSelectable(int offset, SelectableConsumer consumer)

Overrides default org.hibernate.metamodel.mapping.ValuedModelPart.forEachSelectable, org.hibernate.metamodel.mapping.ModelPart.forEachSelectable.

Visits each selectable mapping with the selectable index offset by the given value.
public default int
public default JdbcMapping
public default int
public default MappingType
public default SelectableMapping
getSelectable(int columnIndex)

Implements org.hibernate.metamodel.mapping.SelectableMappings.getSelectable.

Get the selectable at the given position
public default JdbcMapping
public default boolean
Inherited from org.hibernate.metamodel.mapping.BasicValuedMapping:
addToCacheKeydisassemblegetJdbcMapping
Inherited from org.hibernate.metamodel.mapping.SelectableMapping:
getContainingTableExpressiongetCustomReadExpressiongetCustomWriteExpressiongetSelectableNamegetSelectablePathgetSelectionExpressiongetWriteExpressionisFormulaisInsertableisNullableisPartitionedisUpdateable
Inherited from org.hibernate.metamodel.mapping.ValuedModelPart:
forEachInsertableforEachNonFormulaforEachUpdatablegetContainingTableExpression
Inherited from org.hibernate.sql.results.graph.Fetchable:
asAttributeMappinggenerateFetchgetFetchableKeygetFetchableNamegetMappedFetchOptionsincrementFetchDepthisSelectableresolveCircularFetch

Method Detail

forEachSelectableback to summary
public default int forEachSelectable(int offset, SelectableConsumer consumer)

Overrides default org.hibernate.metamodel.mapping.ValuedModelPart.forEachSelectable, org.hibernate.metamodel.mapping.ModelPart.forEachSelectable.

Doc from org.hibernate.metamodel.mapping.ModelPart.forEachSelectable.

Visits each selectable mapping with the selectable index offset by the given value. Returns the amount of jdbc types that have been visited.

Annotations
@Override
forEachSelectableback to summary
public default int forEachSelectable(SelectableConsumer consumer)

Overrides default org.hibernate.metamodel.mapping.ValuedModelPart.forEachSelectable, org.hibernate.metamodel.mapping.ModelPart.forEachSelectable.

Doc from org.hibernate.metamodel.mapping.ModelPart.forEachSelectable.

A short hand form of forEachSelectable(int, SelectableConsumer), that passes 0 as offset.

Annotations
@Override
getJdbcMappingback to summary
public default JdbcMapping getJdbcMapping(int index)

Overrides default org.hibernate.metamodel.mapping.BasicValuedMapping.getJdbcMapping.

Implements org.hibernate.metamodel.mapping.JdbcMappingContainer.getJdbcMapping.

Annotations
@Override
getJdbcTypeCountback to summary
public default int getJdbcTypeCount()

Overrides default org.hibernate.metamodel.mapping.BasicValuedMapping.getJdbcTypeCount, org.hibernate.metamodel.mapping.ValuedModelPart.getJdbcTypeCount, org.hibernate.metamodel.mapping.Bindable.getJdbcTypeCount.

Doc from org.hibernate.metamodel.mapping.Bindable.getJdbcTypeCount.

The number of JDBC mappings

Annotations
@Override
getPartMappingTypeback to summary
public default MappingType getPartMappingType()

Implements org.hibernate.metamodel.mapping.ModelPart.getPartMappingType.

Doc from org.hibernate.metamodel.mapping.ModelPart.getPartMappingType.

The type for this part.

Annotations
@Override
getSelectableback to summary
public default SelectableMapping getSelectable(int columnIndex)

Implements org.hibernate.metamodel.mapping.SelectableMappings.getSelectable.

Doc from org.hibernate.metamodel.mapping.SelectableMappings.getSelectable.

Get the selectable at the given position

Annotations
@Override
getSingleJdbcMappingback to summary
public default JdbcMapping getSingleJdbcMapping()

Overrides default org.hibernate.metamodel.mapping.BasicValuedMapping.getSingleJdbcMapping, org.hibernate.metamodel.mapping.ValuedModelPart.getSingleJdbcMapping, org.hibernate.metamodel.mapping.JdbcMappingContainer.getSingleJdbcMapping.

Annotations
@Override
hasPartitionedSelectionMappingback to summary
public default boolean hasPartitionedSelectionMapping()

Implements org.hibernate.metamodel.mapping.ModelPart.hasPartitionedSelectionMapping.

Annotations
@Override