Interface ColumnContainer

All Known Subinterfaces:
Attribute, PluralAttribute, SingularAttribute
All Known Implementing Classes:
BasicAttribute, Key, ManyToOneAttribute, SetAttribute

public interface ColumnContainer
Contract for a container of columns.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addColumn(Column column)
    Add a column to the container.
    default void
    Takes a Value and injects its columns into the Envers container mapping.
    Get all columns that are part of this property
  • Method Details

    • getColumns

      List<Column> getColumns()
      Get all columns that are part of this property
      Returns:
      unmodifiable list of property columns
    • addColumn

      void addColumn(Column column)
      Add a column to the container.
      Parameters:
      column - the column, must not be null
    • addColumnsFromValue

      default void addColumnsFromValue(Value value)
      Takes a Value and injects its columns into the Envers container mapping.
      Parameters:
      value - the value mapping