Package org.jooq

Interface EmbeddableRecord<R extends EmbeddableRecord<R>>

  • Type Parameters:
    R - The embeddable record type
    All Superinterfaces:
    Attachable, java.lang.Comparable<Record>, Formattable, Record, java.io.Serializable
    All Known Implementing Classes:
    EmbeddableRecordImpl

    public interface EmbeddableRecord<R extends EmbeddableRecord<R>>
    extends Record
    A record originating from a single table
    Author:
    Lukas Eder
    • Method Detail

      • original

        R original()
        Description copied from interface: Record
        Get this record containing the original values as fetched from the database.

        Record values can be freely modified after having fetched a record from the database. Every record also references the originally fetched values. This method returns a new record containing those original values.

        Specified by:
        original in interface Record
        See Also:
        Record.original(Field), Record.original(int), Record.original(String)
      • with

        <T> R with​(Field<T> field,
                   T value)
        Description copied from interface: Record
        Set a value into this record.

        Like Record.set(Field, Object) but returning this for fluent setting of multiple values.

        Specified by:
        with in interface Record