Package acdp

Interface Column<T>

Type Parameters:
T - The type of the values of the column.

public interface Column<T>
The column of a table. A column defines the type of values that a row can store in a particular column. Columns are created with the factory methods of the CL class.

There should be no need for clients to implement this interface.

Author:
Beat Hörmann
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the information object of this column.
    Returns the name of this column.
    As the name() method, returns the name of this column.
    value(T value)
    Creates a column value pair from this column and the specified value.
  • Method Details

    • name

      String name()
      Returns the name of this column.
      Returns:
      The name of this column, never null and never an empty string.
    • info

      Returns the information object of this column.
      Returns:
      The information object of this column, never null.
    • value

      ColVal<T> value(T value)
      Creates a column value pair from this column and the specified value.
      Parameters:
      value - The value. The value must be compatible with the type of this column.
      Returns:
      The column value pair.
    • toString

      String toString()
      As the name() method, returns the name of this column.
      Overrides:
      toString in class Object
      Returns:
      The name of this column, never null and never an empty string.