Interface ColumnNameAware
- All Superinterfaces:
TableNameAware
- All Known Implementing Classes:
Column
,ColumnWithSerialType
Allows getting column name.
- Since:
- 0.6.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets 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
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
-