Class Column


  • public class Column
    extends Object
    A column in a table.
    Author:
    Guillaume Le Cousin
    • Constructor Detail

      • Column

        public Column​(Table table,
                      org.springframework.data.relational.core.sql.SqlIdentifier sqlId)
    • Method Detail

      • isPrimaryKey

        public boolean isPrimaryKey()
      • setPrimaryKey

        public void setPrimaryKey​(boolean primaryKey)
      • isNullable

        public boolean isNullable()
      • setNullable

        public void setNullable​(boolean nullable)
      • isAutoIncrement

        public boolean isAutoIncrement()
      • setAutoIncrement

        public void setAutoIncrement​(boolean autoIncrement)
      • isRandomUuid

        public boolean isRandomUuid()
      • setRandomUuid

        public void setRandomUuid​(boolean randomUuid)
      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • getForeignKeyReferences

        public org.springframework.data.util.Pair<Table,​Column> getForeignKeyReferences()
      • setForeignKeyReferences

        public void setForeignKeyReferences​(org.springframework.data.util.Pair<Table,​Column> foreignKeyReferences)
      • toSql

        public String toSql()
      • getReferenceName

        public String getReferenceName()