Interface ColumnRow<T,C extends Column<? extends T>>

  • Type Parameters:
    T - The type managed by the ColumnRow.
    C - the generic type
    All Superinterfaces:
    org.refcodes.structure.Clearable, java.util.Collection<C>, java.lang.Iterable<T>, org.refcodes.structure.Keys<T,C>, org.refcodes.structure.Keys.MutableKeys<java.lang.String,C>
    All Known Subinterfaces:
    Columns<T>, FormattedColumns<T>, FormattedHeader<T>, Header<T>, HeaderRow<T,C>
    All Known Implementing Classes:
    AbstractHeader, FormattedHeaderImpl, HeaderImpl


    public interface ColumnRow<T,C extends Column<? extends T>>
    extends java.util.Collection<C>, org.refcodes.structure.Keys.MutableKeys<java.lang.String,C>
    In case no order of the Column instances is explicitly required (similar to a DB table or a spread sheet, in contrast to a CSV file) then Column instances are grouped by a ColumnRow set.

    ColumnRow provide additional semantics to the Field instances stored in a Record.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.structure.Keys

        org.refcodes.structure.Keys.MutableKeys<K extends java.lang.Object,V extends java.lang.Object>, org.refcodes.structure.Keys.MutableValues<K extends java.lang.Object,V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default boolean containsValue​(java.lang.Object value)
      default ColumnRow<T,C> withColumns​(C... aColumns)
      With columns.
      • Methods inherited from interface org.refcodes.structure.Clearable

        clear
      • Methods inherited from interface java.util.Collection

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface org.refcodes.structure.Keys

        containsKey, get, keySet, use, values
      • Methods inherited from interface org.refcodes.structure.Keys.MutableKeys

        delete
    • Method Detail

      • withColumns

        default ColumnRow<T,C> withColumns​(C... aColumns)
        With columns.
        Parameters:
        aColumns - the columns
        Returns:
        the columns template
      • containsValue

        default boolean containsValue​(java.lang.Object value)
        Specified by:
        containsValue in interface org.refcodes.structure.Keys<T,C extends Column<? extends T>>