Interface ColumnMapping

All Known Subinterfaces:
ColumnSpecBuilder<SELF>
All Known Implementing Classes:
AbstractColumnSpecBuilder, ColumnSpec, ColumnSpecBuilderImpl, FieldColumnSpecBuilder.EmbeddedColumnSpecBuilder, ManyToMany, OneToMany

public sealed interface ColumnMapping permits ColumnSpec, ColumnSpecBuilder<SELF>, OneToMany, ManyToMany
  • Method Details

    • c

      Shortcut for column(String). Creates a new ColumnSpecBuilder configured with the specified column name.
      Parameters:
      column - the name of the column; must not be null or empty
      Returns:
      this ColumnSpecBuilder for further chaining
    • column

      Creates a new ColumnSpecBuilder configured with the specified column name.
      Parameters:
      column - the name of the column; must not be null or empty
      Returns:
      this ColumnSpecBuilder for further chaining
    • oneToMany

      static OneToMany oneToMany(FieldSpec mappedByField)
    • manyToMany

      static ManyToMany manyToMany(String joinTable, String joinColumn, String inverseJoinColumn)