Module org.jooq
Package org.jooq.impl

Class DelegatingConverter<T,U>

java.lang.Object
org.jooq.impl.AbstractConverter<T,U>
org.jooq.impl.DelegatingConverter<T,U>
All Implemented Interfaces:
Serializable, Converter<T,U>

public class DelegatingConverter<T,U> extends AbstractConverter<T,U>
Author:
Lukas Eder
See Also:
  • Constructor Details

    • DelegatingConverter

      public DelegatingConverter(Converter<T,U> delegate)
  • Method Details

    • from

      public final U from(T t)
      Description copied from interface: Converter
      Read and convert a database object to a user object.
      Parameters:
      t - The database object.
      Returns:
      The user object.
    • to

      public final T to(U u)
      Description copied from interface: Converter
      Convert and write a user object to a database object.
      Parameters:
      u - The user object.
      Returns:
      The database object.
    • toString

      public String toString()
      Overrides:
      toString in class AbstractConverter<T,U>