Class AttributeConverterDefinition

    • Constructor Detail

      • AttributeConverterDefinition

        public AttributeConverterDefinition​(AttributeConverter attributeConverter,
                                            boolean autoApply)
        Deprecated.
    • Method Detail

      • from

        public static AttributeConverterDefinition from​(Class<? extends AttributeConverter> attributeConverterClass,
                                                        boolean autoApply)
        Deprecated.
        Build an AttributeConverterDefinition from the AttributeConverter Class reference and whether or not to auto-apply it.
        Parameters:
        attributeConverterClass - The AttributeConverter Class
        autoApply - Should the AttributeConverter be auto-applied?
        Returns:
        The constructed definition
      • from

        public static AttributeConverterDefinition from​(Class<? extends AttributeConverter> attributeConverterClass)
        Deprecated.
        Build an AttributeConverterDefinition from the AttributeConverter Class reference. The converter is searched for a Converter annotation to determine whether it should be treated as auto-apply. If the annotation is present, Converter.autoApply() is used to make that determination. If the annotation is not present, false is assumed.
        Parameters:
        attributeConverterClass - The converter class
        Returns:
        The constructed definition
      • from

        public static AttributeConverterDefinition from​(AttributeConverter attributeConverter)
        Deprecated.
        Build an AttributeConverterDefinition from an AttributeConverter instance. The converter is searched for a Converter annotation to determine whether it should be treated as auto-apply. If the annotation is present, Converter.autoApply() is used to make that determination. If the annotation is not present, false is assumed.
        Parameters:
        attributeConverter - The AttributeConverter instance
        Returns:
        The constructed definition
      • from

        public static AttributeConverterDefinition from​(AttributeConverter attributeConverter,
                                                        boolean autoApply)
        Deprecated.
        Build an AttributeConverterDefinition from the AttributeConverter instance and whether or not to auto-apply it.
        Parameters:
        attributeConverter - The AttributeConverter instance
        autoApply - Should the AttributeConverter be auto-applied?
        Returns:
        The constructed definition
      • isAutoApply

        public boolean isAutoApply()
        Deprecated.
      • getEntityAttributeType

        public Class getEntityAttributeType()
        Deprecated.
      • getDatabaseColumnType

        public Class getDatabaseColumnType()
        Deprecated.