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, SqmBindableType<O>, SqmDomainType<O>, SqmExpressible<O>, Type<O>, Type, ValueMapping
Union of
ConvertedBasicType and BasicDomainType capabilities.- Implementation Note:
- We need the
BasicDomainTypeaspect for handling in SQM trees.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface 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 BasicDomainType
getPersistenceTypeMethods inherited from interface BasicType
compare, disassemble, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcType, getCheckCondition, getExpressibleJavaType, getJavaType, getJdbcLiteralFormatter, getJdbcMapping, getJdbcMapping, getJdbcTypeCount, getJdbcValueBinder, getJdbcValueExtractor, getMappedJavaType, getMappedType, getRegistrationKeys, getSingleJdbcMapping, getSqmTypeMethods inherited from interface BasicValuedMapping
addToCacheKeyMethods inherited from interface Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface JdbcMapping
convertToDomainValue, convertToRelationalValue, getCastType, getJdbcJavaType, getJdbcTypeMethods inherited from interface OutputableType
canDoExtraction, extract, extract, getJdbcTypeMethods inherited from interface SqmBindableType
resolveExpressibleMethods inherited from interface SqmDomainType
getTupleLength, getTypeNameMethods inherited from interface SqmExpressible
getRelationalJavaTypeMethods inherited from interface 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 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
-