类 AbstractColumnPojo<C extends Column>

java.lang.Object
cn.featherfly.common.db.model.AbstractColumn
cn.featherfly.common.db.model.AbstractColumnPojo<C>
类型参数:
C - the generic type
所有已实现的接口:
Column
直接已知子类:
ColumnModel, SimpleColumn

public abstract class AbstractColumnPojo<C extends Column>
extends AbstractColumn

AbstractColumn

.
  • 构造器详细资料

    • AbstractColumnPojo

      public AbstractColumnPojo()
  • 方法详细资料

    • setName

      public C setName​(java.lang.String name)
      设置name.
      参数:
      name - name
      返回:
      the t
    • setType

      public C setType​(int type)
      设置type.
      参数:
      type - type
      返回:
      the t
    • setTypeName

      public C setTypeName​(java.lang.String typeName)
      设置typeName.
      参数:
      typeName - typeName
      返回:
      the t
    • setSize

      public C setSize​(int size)
      设置size.
      参数:
      size - size
      返回:
      the t
    • setRemark

      public C setRemark​(java.lang.String remark)
      设置remark.
      参数:
      remark - remark
      返回:
      the t
    • setDefaultValue

      public C setDefaultValue​(java.lang.String defaultValue)
      设置defaultValue.
      参数:
      defaultValue - defaultValue
      返回:
      the t
    • setNullable

      public C setNullable​(boolean nullable)
      设置nullable.
      参数:
      nullable - nullable
      返回:
      the t
    • setColumnIndex

      public C setColumnIndex​(int columnIndex)
      设置columnIndex.
      参数:
      columnIndex - columnIndex
      返回:
      the t
    • setPrimaryKey

      public C setPrimaryKey​(boolean primaryKey)
      设置primaryKey.
      参数:
      primaryKey - primaryKey
      返回:
      the t
    • setDecimalDigits

      public C setDecimalDigits​(int decimalDigits)
      设置decimalDigits.
      参数:
      decimalDigits - decimalDigits
      返回:
      the t
    • setAutoincrement

      public C setAutoincrement​(boolean autoincrement)
      设置autoincrement.
      参数:
      autoincrement - autoincrement
      返回:
      the t
    • setSqlType

      public C setSqlType​(java.sql.SQLType sqlType)
      设置sqlType.
      参数:
      sqlType - sqlType
      返回:
      the t
    • setTable

      public C setTable​(Table table)
      设置table.
      参数:
      table - table
      返回:
      the c