Class ColumnContainer

  • Direct Known Subclasses:
    IndexModel, TableModel

    public class ColumnContainer
    extends Object

    Wrapper for a collection of ColumnModel.

    Note : column name are considered without cases as for standard SQL.

    Author:
    Fugerit
    • Constructor Detail

      • ColumnContainer

        public ColumnContainer()
    • Method Detail

      • getColumnList

        public List<ColumnModel> getColumnList()
        Returns the column list
        Returns:
        the column list
      • getColumnMap

        public Map<String,​ColumnModel> getColumnMap()
        Returns the column map
        Returns:
        the column map
      • addColumn

        public void addColumn​(ColumnModel columnModel)
        Add a column to the container
        Parameters:
        columnModel - the column model to add
      • getColumn

        public ColumnModel getColumn​(String columnName)
        Get a column from the container (by name)
        Parameters:
        columnName - the column name
        Returns:
        the column model or null