Top Description Methods
org.hibernate.metamodel.mapping

public Interface ValuedModelPart

extends ModelPart, ValueMapping, SelectableMappings
Known Direct Subinterfaces
org.hibernate.metamodel.mapping.BasicValuedModelPart, org.hibernate.metamodel.mapping.CollectionPart, org.hibernate.metamodel.mapping.EmbeddableValuedModelPart, org.hibernate.metamodel.mapping.EntityIdentifierMapping, org.hibernate.metamodel.mapping.ForeignKeyDescriptor, org.hibernate.metamodel.mapping.OwnedValuedModelPart
Known Direct Implementers
org.hibernate.query.derived.AnonymousTupleEntityValuedModelPart

Describes a ModelPart that is also a ValueMapping (and therefore also a SelectableMappings).

Basic and embedded model-parts fall into this category.

Author
Steve Ebersole

Method Summary

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

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

Implements org.hibernate.metamodel.mapping.SelectableMappings.forEachSelectable.

Visits each selectable mapping with the selectable index offset by the given value.
public default int
public default void
public String
getContainingTableExpression()

The table which contains the columns mapped by this value

public default int
public default JdbcMapping
Inherited from org.hibernate.metamodel.mapping.ModelPart:
applySqlSelectionsapplySqlSelectionsareEqualasAttributeMappingasEntityMappingTypebreakDownJdbcValuesbreakDownJdbcValuescreateDomainResultdecomposedecomposefindContainingEntityMappinggetJavaTypegetNavigableRolegetPartMappingTypegetPartNamehasPartitionedSelectionMappingisEntityIdentifierMappingisVirtual
Inherited from org.hibernate.metamodel.mapping.SelectableMappings:
getSelectable
Inherited from org.hibernate.metamodel.mapping.ValueMapping:
getExpressibleJavaTypegetMappedTypetreatAs

Method Detail

forEachInsertableback to summary
public default void forEachInsertable(SelectableConsumer consumer)
forEachNonFormulaback to summary
public default void forEachNonFormula(SelectableConsumer consumer)
forEachSelectableback to summary
public default int forEachSelectable(int offset, SelectableConsumer consumer)

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

Implements org.hibernate.metamodel.mapping.SelectableMappings.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.ModelPart.forEachSelectable, org.hibernate.metamodel.mapping.SelectableMappings.forEachSelectable.

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

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

Annotations
@Override
forEachUpdatableback to summary
public default void forEachUpdatable(SelectableConsumer consumer)
getContainingTableExpressionback to summary
public String getContainingTableExpression()

The table which contains the columns mapped by this value

getJdbcTypeCountback to summary
public default int getJdbcTypeCount()

Overrides default org.hibernate.metamodel.mapping.Bindable.getJdbcTypeCount.

Implements org.hibernate.metamodel.mapping.SelectableMappings.getJdbcTypeCount.

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

The number of selectables

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

Overrides default org.hibernate.metamodel.mapping.JdbcMappingContainer.getSingleJdbcMapping.

Annotations
@Override