Module org.jooq
Package org.jooq

Interface ConstructorPropertiesProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ConstructorPropertiesProvider
An SPI that can be used to provide java.beans style constructor properties to the DefaultRecordMapper.

Starting with jOOQ 3.20 and, the ConstructorProperties annotation support has been moved out of the core library to the jOOQ-beans-extensions module, to allow for:

  • Removal of the dependency on the java.beans JDK module from the core library
  • Maintenance of backwards compatibility for those users using the annotation

Implementations can be provided to Configuration.constructorPropertiesProvider().

Lukas Eder
  • Method Details

    • properties

      @Nullable @Nullable String @Nullable [] properties(Constructor<?> constructor)
      Provide the constructor properties on the argument constructor, like ConstructorProperties.value().

      The constructor properties, if applicable, or null if the argument Constructor does not expose any constructor properties.