Package org.hibernate.metamodel.mapping
Interface VirtualModelPart
-
- All Superinterfaces:
Bindable
,JdbcMappingContainer
,MappingModelExpressible
,ModelPart
- All Known Subinterfaces:
DiscriminatorMapping
,EmbeddableDiscriminatorMapping
,EntityDiscriminatorMapping
,EntityRowIdMapping
,ForeignKeyDescriptor
,NaturalIdMapping
,NonAggregatedIdentifierMapping
,SoftDeleteMapping
- All Known Implementing Classes:
AbstractDiscriminatorMapping
,AbstractNaturalIdMapping
,AnonymousTupleNonAggregatedEntityIdentifierMapping
,AnyDiscriminatorPart
,CaseStatementDiscriminatorMappingImpl
,CompoundNaturalIdMapping
,EmbeddedForeignKeyDescriptor
,EntityRowIdMappingImpl
,ExplicitColumnDiscriminatorMappingImpl
,InverseNonAggregatedIdentifierMapping
,NonAggregatedIdentifierMappingImpl
,SimpleForeignKeyDescriptor
,SimpleNaturalIdMapping
,SoftDeleteMappingImpl
,VirtualEmbeddedAttributeMapping
public interface VirtualModelPart extends ModelPart
Marker interface for parts of the application domain model that do not actually exist in the model classes.- See Also:
isVirtual()
-
-
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
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
isVirtual()
Whether this model part describes something that physically exists in the domain model.-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, getJdbcTypeCount
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcMapping, getSingleJdbcMapping
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, asAttributeMapping, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, findContainingEntityMapping, forEachSelectable, forEachSelectable, getJavaType, getNavigableRole, getPartMappingType, getPartName, hasPartitionedSelectionMapping, isEntityIdentifierMapping
-
-
-
-
Method Detail
-
isVirtual
default boolean isVirtual()
Description copied from interface:ModelPart
Whether this model part describes something that physically exists in the domain model. For example, an entity's discriminator is part of the model, but is not a physical part of the domain model - there is no "discriminator attribute". Also indicates whether the part is castable toVirtualModelPart
-
-