org.qi4j.library.eventsourcing.domain.source.helper

## Class EventParameters

- java.lang.Object
- - org.qi4j.library.eventsourcing.domain.source.helper.EventParameters

-     public class EventParameters
      extends Object

  Utility class to pick out parameters by name or index as strings from a DomainEventValue

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EventParameters()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `getParameter(DomainEventValue eventValue, int idx)` Get parameter with given index.
    `static String` | `getParameter(DomainEventValue eventValue, String name)` Get the named parameter from an eventValue.

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

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

- - ### Constructor Detail

    - #### EventParameters

          public EventParameters()

  - ### Method Detail

    - #### getParameter

          public static String getParameter(DomainEventValue eventValue,
                            String name)

      Get the named parameter from an eventValue.
      Parameters:
        `eventValue` - eventValue with parameters
        `name` - name of parameter
      Returns:
        the parameter with the given name or null

    - #### getParameter

          public static String getParameter(DomainEventValue eventValue,
                            int idx)

      Get parameter with given index.
      Parameters:
        `eventValue` - eventValue with parameters
        `idx` - index of parameter
      Returns:
        the parameter with the given index or null