Module storm
Package st.orm.spi

Interface ORMConverterProvider

All Superinterfaces:
Orderable<Provider>, Provider

public interface ORMConverterProvider extends Provider
Provides pluggable ORM converter logic for record components.

Implementations can provide custom converters for specific record components, allowing for flexible data transformation and mapping.

  • Method Details

    • getConverter

      Optional<ORMConverter> getConverter(@Nonnull RecordComponent component)
      Retrieves the converter for the specified record component.
      Parameters:
      component - the record component for which to get the converter
      Returns:
      an Optional containing the ORMConverter if available, or empty if not supported.