org.qi4j.library.rest.common.table

## Class TableBuilderFactory

- java.lang.Object
- - org.qi4j.library.rest.common.table.TableBuilderFactory

-     public class TableBuilderFactory
      extends Object

  Factory for setting up TableBuilder instances. Defines available columns, and how they are extracted from objects.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TableBuilderFactory(ValueBuilderFactory vbf)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TableBuilderFactory` | `column(String id, String label, String type, Function<?,Object> valueFunction)`
    `TableBuilderFactory` | `column(String id, String label, String type, Function<?,Object> valueFunction, Function<?,String> formattedFunction)`
    `TableBuilder` | `newInstance(TableQuery tableQuery)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TableBuilderFactory

          public TableBuilderFactory(ValueBuilderFactory vbf)

  - ### Method Detail

    - #### column

          public TableBuilderFactory column(String id,
                                   String label,
                                   String type,
                                   Function<?,Object> valueFunction,
                                   Function<?,String> formattedFunction)

    - #### column

          public TableBuilderFactory column(String id,
                                   String label,
                                   String type,
                                   Function<?,Object> valueFunction)

    - #### newInstance

          public TableBuilder newInstance(TableQuery tableQuery)