Class UserTableMetadata<TColumn extends UserColumn>

    • Field Detail

      • tableName

        protected String tableName
        Table name
      • dataType

        protected String dataType
        Data type
      • identifier

        protected String identifier
        Identifier
      • description

        protected String description
        Description
      • idColumnName

        protected String idColumnName
        ID column name
      • autoincrement

        protected boolean autoincrement
        ID autoincrement flag
      • additionalColumns

        protected List<TColumn extends UserColumn> additionalColumns
        Additional table columns
    • Constructor Detail

      • UserTableMetadata

        public UserTableMetadata()
        Constructor
    • Method Detail

      • getDefaultDataType

        public abstract String getDefaultDataType()
        Get the default data type
        Returns:
        default data type
      • buildColumns

        public abstract List<TColumn> buildColumns()
        Build the table columns
        Returns:
        table columns
      • getTableName

        public String getTableName()
        Get the table name
        Returns:
        table name
      • setTableName

        public void setTableName​(String tableName)
        Set the table name
        Parameters:
        tableName - table name
      • getDataType

        public String getDataType()
        Get the data type
        Returns:
        data type
      • setDataType

        public void setDataType​(String dataType)
        Set the data type
        Parameters:
        dataType - data type
      • getIdentifier

        public String getIdentifier()
        Get the identifier
        Returns:
        identifier
        Since:
        6.6.0
      • setIdentifier

        public void setIdentifier​(String identifier)
        Set the identifier
        Parameters:
        identifier - identifier
        Since:
        6.6.0
      • getDescription

        public String getDescription()
        Get the description
        Returns:
        description
        Since:
        6.6.0
      • setDescription

        public void setDescription​(String description)
        Set the description
        Parameters:
        description - description
        Since:
        6.6.0
      • getIdColumnName

        public String getIdColumnName()
        Get the id column name
        Returns:
        id column name
      • setIdColumnName

        public void setIdColumnName​(String idColumnName)
        Set the id column name
        Parameters:
        idColumnName - id column name
      • isAutoincrement

        public boolean isAutoincrement()
        Is id autocincrement enabled?
        Returns:
        autoincrement flag
      • setAutoincrement

        public void setAutoincrement​(boolean autoincrement)
        Set the id autoincrement flag
        Parameters:
        autoincrement - autoincrement flag
      • getAdditionalColumns

        public List<TColumn> getAdditionalColumns()
        Get the additional table columns
        Returns:
        columns
      • setAdditionalColumns

        public void setAdditionalColumns​(List<TColumn> additionalColumns)
        Set the additional table columns
        Parameters:
        additionalColumns - columns
      • getColumns

        public List<TColumn> getColumns()
        Get the table columns
        Returns:
        columns
      • setColumns

        public void setColumns​(List<TColumn> columns)
        Set the table columns
        Parameters:
        columns - columns