Class ListTable.ListRecord

  • All Implemented Interfaces:
    Record
    Enclosing class:
    ListTable

    public class ListTable.ListRecord
    extends java.lang.Object
    implements Record
    Record in a ListTable.
    • Constructor Summary

      Constructors 
      Constructor Description
      ListRecord​(java.lang.Object[] values)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getValue​(java.lang.String id)
      Returns the column value of this record.
      <T> T getValue​(Column<T> column)
      Returns the column value of this record.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListRecord

        public ListRecord​(java.lang.Object[] values)
        Constructor.
        Parameters:
        values - Object[]; values
    • Method Detail

      • getValue

        public <T> T getValue​(Column<T> column)
        Returns the column value of this record.
        Specified by:
        getValue in interface Record
        Type Parameters:
        T - value type
        Parameters:
        column - Column<T>; column
        Returns:
        the column value in this record
      • getValue

        public java.lang.Object getValue​(java.lang.String id)
        Returns the column value of this record.
        Specified by:
        getValue in interface Record
        Parameters:
        id - String; column id
        Returns:
        the column value in this record