Class FormTableManager.DbColumn

    • Constructor Detail

      • DbColumn

        public DbColumn()
        Build a DB column object.
      • DbColumn

        public DbColumn​(String name,
                        int sqlType,
                        String typeName,
                        int columnSize)
        Build a DB column object.
        Parameters:
        name - the column name.
        sqlType - the sql type.
        typeName - the type name.
        columnSize - the column size.
    • Method Detail

      • getName

        public String getName()
        Get the name.
        Returns:
        the name
      • setName

        public void setName​(String name)
        Set the name.
        Parameters:
        name - the name to set
      • getSqlType

        public int getSqlType()
        Get the sqlType.
        Returns:
        the sqlType
      • setSqlType

        public void setSqlType​(int sqlType)
        Set the sqlType.
        Parameters:
        sqlType - the sqlType to set
      • setTypeName

        public void setTypeName​(String typeName)
        Set the typeName.
        Parameters:
        typeName - the typeName to set
      • getColumnSize

        public int getColumnSize()
        Get the columnSize.
        Returns:
        the columnSize
      • setColumnSize

        public void setColumnSize​(int columnSize)
        Set the columnSize.
        Parameters:
        columnSize - the columnSize to set
      • getColumnTypeIdentifier

        public String getColumnTypeIdentifier()
        Get a type identifier corresponding to the column (i.e. TEXT, VARCHAR(255), INT(1), and so on.)
        Returns:
        a type identifier corresponding to the column (i.e. TEXT, VARCHAR(255), INT(1), and so on.)