org.apache.cayenne

## Class ProcedureResult<T>

- java.lang.Object
- - org.apache.cayenne.util.GenericQueryResult<T>
  - - org.apache.cayenne.ProcedureResult<T>

- All Implemented Interfaces:
    Iterable<QueryResultItem>, QueryResult<T>

      public class ProcedureResult<T>
      extends GenericQueryResult<T>

  Result of procedure call.
  Since:
    4.0

- - ### Field Summary

    - ### Fields inherited from class org.apache.cayenne.util.GenericQueryResult

      `resultClass, resultItems`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProcedureResult(List<QueryResultItem> resultItems)`
    `ProcedureResult(List<QueryResultItem> resultItems, Class<T> resultClass)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `getOutParam(String paramName)` Returns procedure OUT parameter by its name defined in the mapping file.

    - ### Methods inherited from class org.apache.cayenne.util.GenericQueryResult

      `firstBatchUpdateCount, firstList, firstUpdateCount, isList, iterator, size`

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

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

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### ProcedureResult

          public ProcedureResult(List<QueryResultItem> resultItems)

    - #### ProcedureResult

          public ProcedureResult(List<QueryResultItem> resultItems,
                                 Class<T> resultClass)

  - ### Method Detail

    - #### getOutParam

          public Object getOutParam(String paramName)

      Returns procedure OUT parameter by its name defined in the mapping file.

Copyright © 2001–2018 Apache Cayenne. All rights reserved.