Interface ConverterDescriptor<X,Y>

Type Parameters:
X - The entity attribute type
Y - The converted type

public interface ConverterDescriptor<X,Y>
Boot-time descriptor of a JPA converter.
See Also:
  • Field Details

  • Method Details

    • getAttributeConverterClass

      Class<? extends AttributeConverter<X,Y>> getAttributeConverterClass()
      The class of the JPA AttributeConverter.
    • getDomainValueResolvedType

      com.fasterxml.classmate.ResolvedType getDomainValueResolvedType()
      The resolved Classmate type descriptor for the conversion's domain type
    • getRelationalValueResolvedType

      com.fasterxml.classmate.ResolvedType getRelationalValueResolvedType()
      The resolved Classmate type descriptor for the conversion's relational type
    • getAutoApplyDescriptor

      AutoApplicableConverterDescriptor getAutoApplyDescriptor()
      Get the auto-apply checker for this converter.

      Should never return null. If the converter is not auto-applied, return AutoApplicableConverterDescriptorBypassedImpl.INSTANCE instead.

    • createJpaAttributeConverter

      JpaAttributeConverter<X,Y> createJpaAttributeConverter(JpaAttributeConverterCreationContext context)
      Factory for the runtime representation of the converter
    • overrideable

      default boolean overrideable()
      Can this converter be overridden by other competing converters?