Interface ValueMapping
- All Superinterfaces:
Bindable, JavaTypedExpressible, JdbcMappingContainer, MappingModelExpressible
- All Known Subinterfaces:
AdjustableBasicType<J>, AggregatedIdentifierMapping, AttributeMapping, BasicEntityIdentifierMapping, BasicPluralType<C,E>, BasicType<T>, BasicValuedMapping, BasicValuedModelPart, CollectionIdentifierDescriptor, CollectionPart, CompositeIdentifierMapping, ConvertedBasicType<J>, DiscriminatorMapping, DiscriminatorType<O>, EmbeddableDiscriminatorMapping, EmbeddableValuedFetchable, EmbeddableValuedModelPart, EntityDiscriminatorMapping, EntityIdentifierMapping, EntityRowIdMapping, EntityVersionMapping, ForeignKeyDescriptor, NonAggregatedIdentifierMapping, OwnedValuedModelPart, PluralAttributeMapping, org.hibernate.metamodel.mapping.internal.SingleAttributeIdentifierMapping, SingularAttributeMapping, ValuedModelPart
- All Known Implementing Classes:
org.hibernate.sql.exec.internal.AbstractJdbcParameter, AbstractSingleColumnStandardBasicType, AbstractStandardBasicType, BasicArrayType, BasicCollectionType, BottomType, ColumnValueParameter, ConvertedBasicArrayType, ConvertedBasicCollectionType, CustomType, DiscriminatorType, EmbeddableTypeLiteral, EntityTypeLiteral, JavaObjectType, NullType, QueryParameterJavaObjectType, SerializableType, StandardBasicTypeTemplate
Describes a mapping related to any part of the app's domain model,
for example, an attribute, an entity identifier, collection elements, etc.
Used during generation of a SQL AST.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer -
Method Summary
Modifier and TypeMethodDescriptiondefault JavaType<?> Descriptor for the type of this mappingdefault <X> XTreat operation.Methods inherited from interface Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, getJdbcTypeCountMethods inherited from interface JavaTypedExpressible
addToCacheKeyMethods inherited from interface JdbcMappingContainer
forEachJdbcType, getJdbcMapping, getSingleJdbcMapping
-
Method Details
-
getMappedType
MappingType getMappedType()Descriptor for the type of this mapping -
getExpressibleJavaType
- Specified by:
getExpressibleJavaTypein interfaceJavaTypedExpressible
-
treatAs
Treat operation. Asks the ValueMapping to treat itself as the given `targetType`, if it can.- API Note:
- This is not necessarily limited to things the ValueMapping itself implements.
- Implementation Note:
- This default implementation is however limited to just things the ValueMapping itself implements.
-