Class ConversionRegistration

java.lang.Object
org.hibernate.boot.models.spi.ConversionRegistration

public class ConversionRegistration extends Object
A registered conversion.
See Also:
API Note:
Largely a copy of RegisteredConversion to avoid early creation of ConverterDescriptor. Technically the conversion from ClassDetails to Class should be fine since conversions are only valid for basic types which we will never enhance.
  • Constructor Details

    • ConversionRegistration

      public ConversionRegistration(Class<?> explicitDomainType, Class<? extends AttributeConverter<?,?>> converterType, boolean autoApply, org.hibernate.models.spi.AnnotationDescriptor<? extends Annotation> source)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getExplicitDomainType

      public Class<?> getExplicitDomainType()
    • getConverterType

      public Class<? extends AttributeConverter<?,?>> getConverterType()
    • isAutoApply

      public boolean isAutoApply()
    • getSource

      public org.hibernate.models.spi.AnnotationDescriptor<? extends Annotation> getSource()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • makeConverterDescriptor

      public ConverterDescriptor makeConverterDescriptor(ClassmateContext classmateContext)