Interface ColumnNameAware

All Superinterfaces:
TableNameAware
All Known Implementing Classes:
Column, ColumnWithSerialType

public interface ColumnNameAware extends TableNameAware
Allows getting column name.
Since:
0.6.2
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets column name in the table.
    boolean
    Shows whether column can or cannot accept null values.
    default boolean
    Shows whether column can accept null values.

    Methods inherited from interface io.github.mfvanek.pg.model.table.TableNameAware

    getTableName
  • Method Details

    • getColumnName

      @Nonnull String getColumnName()
      Gets column name in the table.
      Returns:
      column name
    • isNotNull

      boolean isNotNull()
      Shows whether column can or cannot accept null values.
      Returns:
      true if column cannot accept null values
    • isNullable

      default boolean isNullable()
      Shows whether column can accept null values.
      Returns:
      true if column can accept null values