com.comtrade.ecm.engine.persistence

## Class QueryResponse.Build<T extends Persistable>

- java.lang.Object
- - com.comtrade.ecm.engine.persistence.QueryResponse.Build<T>

- Enclosing class:
    QueryResponse<T extends Persistable>

      public static class QueryResponse.Build<T extends Persistable>
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Build()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `QueryResponse<T>` | `build()`
    `QueryResponse.Build<T>` | `withCount(long count)`
    `QueryResponse.Build<T>` | `withData(java.util.List<T> data)`
    `QueryResponse.Build<T>` | `withTotal(T total)`

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

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

- - ### Constructor Detail

    - #### Build

          public Build()

  - ### Method Detail

    - #### withData

          public QueryResponse.Build<T> withData(java.util.List<T> data)

    - #### withCount

          public QueryResponse.Build<T> withCount(long count)

    - #### withTotal

          public QueryResponse.Build<T> withTotal(T total)

    - #### build

          public QueryResponse<T> build()