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
Marker interface for parts of the application domain model that do not actually
exist in the model classes.
- See Also:
-
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 booleanWhether 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, getJdbcTypeCountMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcMapping, getSingleJdbcMappingMethods 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 Details
-
isVirtual
default boolean isVirtual()Description copied from interface:ModelPartWhether 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
-