java.lang.Object
com.gdxsoft.easyweb.define.database.Field

public class Field extends Object
表字段
作者:
Administrator
  • 构造器详细资料

    • Field

      public Field()
  • 方法详细资料

    • getSqlType

      public String getSqlType()
      获取Sql的类型表达式
      返回:
    • getSqlAlter

      public String getSqlAlter()
      获取 Alter SQL
      返回:
    • getSqlChange

      public String getSqlChange()
    • getDatabaseType

      public String getDatabaseType()
    • setDatabaseType

      public void setDatabaseType(String databaseType)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • isNull

      public boolean isNull()
    • setNull

      public void setNull(boolean isNull)
    • isPk

      public boolean isPk()
    • setPk

      public void setPk(boolean isPk)
    • getMaxlength

      public int getMaxlength()
    • setMaxlength

      public void setMaxlength(int maxlength)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • isFk

      public boolean isFk()
      返回:
      the _IsFk
    • setFk

      public void setFk(boolean isFk)
      参数:
      isFk - the _IsFk to set
    • getFKTableName

      public String getFKTableName()
      返回:
      the _FKTableName
    • setFKTableName

      public void setFKTableName(String tableName)
      参数:
      tableName - the _FKTableName to set
    • getFKColumnName

      public String getFKColumnName()
      返回:
      the _FKColumnName
    • setFKColumnName

      public void setFKColumnName(String columnName)
      参数:
      columnName - the _FKColumnName to set
    • getColumnSize

      public int getColumnSize()
      返回:
      the _ColumnSize
    • setColumnSize

      public void setColumnSize(int columnSize)
      参数:
      columnSize - the _ColumnSize to set
    • getDecimalDigits

      public int getDecimalDigits()
      返回:
      the _DecimalDigits
    • setDecimalDigits

      public void setDecimalDigits(int decimalDigits)
      参数:
      decimalDigits - the _DecimalDigits to set
    • getDataType

      public int getDataType()
      返回:
      the _DataType
    • setDataType

      public void setDataType(int dataType)
      参数:
      dataType - the _DataType to set
    • getCharOctetLength

      public int getCharOctetLength()
      返回:
      the _CharOctetLength
    • setCharOctetLength

      public void setCharOctetLength(int charOctetLength)
      参数:
      charOctetLength - the _CharOctetLength to set
    • getOrdinalPosition

      public int getOrdinalPosition()
      返回:
      the _OrdinalPosition
    • setOrdinalPosition

      public void setOrdinalPosition(int ordinalPosition)
      参数:
      ordinalPosition - the _OrdinalPosition to set
    • getTableName

      public String getTableName()
      返回:
      the _TableName
    • setTableName

      public void setTableName(String tableName)
      参数:
      tableName - the _TableName to set
    • isIdentity

      public boolean isIdentity()
      返回:
      the _IsIdentity
    • setIdentity

      public void setIdentity(boolean isIdentity)
      参数:
      isIdentity - the _IsIdentity to set
    • getMapLength

      public int getMapLength()
      返回:
      the _MapLength
    • setMapLength

      public void setMapLength(int mapLength)
      参数:
      mapLength - the _MapLength to set