com.holonplatform.core.datastore.beans

## Interface BeanDatastore.BeanOperationResult.Builder<T>

- Type Parameters:
    `T` - Bean class
  Enclosing interface:
    BeanDatastore.BeanOperationResult<T>

      public static interface BeanDatastore.BeanOperationResult.Builder<T>

  `BeanDatastore.BeanOperationResult` builder.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `BeanDatastore.BeanOperationResult.Builder<T>` | `affectedCount(long count)` Set the affected elements count.
    `BeanDatastore.BeanOperationResult<T>` | `build()` Build the `BeanDatastore.BeanOperationResult`.
    `BeanDatastore.BeanOperationResult.Builder<T>` | `result(T bean)` Set the result bean instance.
    `BeanDatastore.BeanOperationResult.Builder<T>` | `type(Datastore.OperationType type)` Set the operation type

- - ### Method Detail

    - #### type

          BeanDatastore.BeanOperationResult.Builder<T> type(Datastore.OperationType type)

      Set the operation type
      Parameters:
        `type` - Operation type
      Returns:
        this

    - #### affectedCount

          BeanDatastore.BeanOperationResult.Builder<T> affectedCount(long count)

      Set the affected elements count.
      Parameters:
        `count` - Affected elements count
      Returns:
        this

    - #### result

          BeanDatastore.BeanOperationResult.Builder<T> result(T bean)

      Set the result bean instance.
      Parameters:
        `bean` - The bean instance to set
      Returns:
        this

    - #### build

          BeanDatastore.BeanOperationResult<T> build()

      Build the `BeanDatastore.BeanOperationResult`.
      Returns:
        The `BeanDatastore.BeanOperationResult` instance

Copyright © 2019 The Holon Platform. All rights reserved.