Class Column

java.lang.Object
org.assertj.db.type.Column
All Implemented Interfaces:
DbElement, WithColumnLetterCase

public class Column extends Object implements DbElement, WithColumnLetterCase
Column in a AbstractDbData.

A column can have many rows with a value for each row.

Note : you never instantiate directly this class. You will get an object of this class from a Table or a Request by using AbstractDbData.getColumn(int).

Author:
Régis Pouiller.
  • Method Details

    • getColumnLetterCase

      public LetterCase getColumnLetterCase()
      Returns the letter case of the columns.
      Specified by:
      getColumnLetterCase in interface WithColumnLetterCase
      Returns:
      The letter case of the columns.
    • getName

      public String getName()
      Returns the name of the column.
      Returns:
      The name of the column.
    • getValuesList

      public List<Value> getValuesList()
      Returns the values of the column.
      Returns:
      The values of the column.
    • getRowValue

      public Value getRowValue(int index)
      Returns the value corresponding to the row index.
      Parameters:
      index - The index
      Returns:
      The value