Package org.hibernate.metamodel.mapping
Interface DiscriminatorType<O>
- Type Parameters:
O- The Java type of the domain form of the discriminator.
- All Superinterfaces:
BasicDomainType<O>,BasicType<O>,BasicType<O>,BasicValuedMapping,Bindable,BindableType<O>,ConvertedBasicType<O>,DomainType<O>,JavaTypedExpressible,JdbcMapping,JdbcMappingContainer,MappingModelExpressible,MappingType,OutputableType<O>,ReturnableType<O>,Serializable,SimpleDomainType<O>,SqlExpressible,SqmExpressible<O>,Type<O>,Type,ValueMapping
- All Known Implementing Classes:
DiscriminatorTypeImpl
Union of
ConvertedBasicType and BasicDomainType capabilities.- Author:
- Steve Ebersole
-
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 jakarta.persistence.metamodel.Type
Type.PersistenceType -
Method Summary
Modifier and TypeMethodDescriptionThe descriptor for the Java type represented by this expressible typeBasicType<?>Returns the converter that this basic type uses for transforming from the domain type, to the relational type, ornullif there is no conversion.Methods inherited from interface org.hibernate.metamodel.model.domain.BasicDomainType
areEqual, getPersistenceTypeMethods inherited from interface org.hibernate.type.BasicType
compare, disassemble, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcType, getCheckCondition, getExpressibleJavaType, getJdbcLiteralFormatter, getJdbcMapping, getJdbcMapping, getJdbcTypeCount, getJdbcValueBinder, getJdbcValueExtractor, getMappedJavaType, getMappedType, getRegistrationKeys, getSingleJdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.BasicValuedMapping
addToCacheKeyMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getSqmType, getTupleLengthMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMapping
convertToDomainValue, convertToRelationalValue, getCastType, getJdbcJavaType, getJdbcTypeMethods inherited from interface org.hibernate.query.OutputableType
canDoExtraction, extract, extract, getJdbcTypeMethods inherited from interface org.hibernate.metamodel.model.domain.SimpleDomainType
getBindableJavaTypeMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, getTypeName, isInstance, resolveExpressibleMethods inherited from interface jakarta.persistence.metamodel.Type
getJavaTypeMethods inherited from interface org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, disassemble, disassemble, getColumnSpan, getHashCode, getHashCode, getName, getReturnedClass, getReturnedClassName, getSqlTypeCodes, getTypeForEqualsHashCode, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeSet, nullSafeSet, replace, replace, toColumnNullness, toLoggableStringMethods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
treatAs
-
Method Details
-
getValueConverter
DiscriminatorConverter<O,?> getValueConverter()Description copied from interface:JdbcMappingReturns the converter that this basic type uses for transforming from the domain type, to the relational type, ornullif there is no conversion.- Specified by:
getValueConverterin interfaceBasicType<O>- Specified by:
getValueConverterin interfaceConvertedBasicType<O>- Specified by:
getValueConverterin interfaceJdbcMapping
-
getUnderlyingJdbcMapping
BasicType<?> getUnderlyingJdbcMapping() -
getJavaTypeDescriptor
Description copied from interface:JdbcMappingThe descriptor for the Java type represented by this expressible type- Specified by:
getJavaTypeDescriptorin interfaceBasicType<O>- Specified by:
getJavaTypeDescriptorin interfaceJdbcMapping
-