org.apache.ode.dao.jpa

## Class CorrelationSetDAOImpl

- java.lang.Object
- - org.apache.ode.dao.jpa.CorrelationSetDAOImpl

- All Implemented Interfaces:
    CorrelationSetDAO

      public class CorrelationSetDAOImpl
      extends java.lang.Object
      implements CorrelationSetDAO

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `DELETE_CORRELATION_SETS_BY_IDS`
    `static java.lang.String` | `SELECT_ACTIVE_SETS`
    `static java.lang.String` | `SELECT_CORRELATION_SET_IDS_BY_INSTANCE`
    `static java.lang.String` | `SELECT_CORRELATION_SET_IDS_BY_PROCESS`
    `static java.lang.String` | `SELECT_CORRELATION_SETS_BY_INSTANCES`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CorrelationSetDAOImpl()`
    `CorrelationSetDAOImpl(ScopeDAOImpl scope, java.lang.String name)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Long` | `getCorrelationSetId()`
    `ProcessInstanceDAO` | `getInstance()`
    `java.lang.String` | `getName()` Get the name of the correlation set.
    `ProcessDAO` | `getProcess()`
    `java.util.Map<javax.xml.namespace.QName,java.lang.String>` | `getProperties()` Get correlation set properties with their values as a Map.
    `ScopeDAO` | `getScope()` Get the scope instance to which this correlation set belongs.
    `CorrelationKey` | `getValue()` Get the value of the correlation set.
    `void` | `setValue(javax.xml.namespace.QName[] names, CorrelationKey values)` Sets the value of the correlation set.

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

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

- - ### Field Detail

    - #### DELETE_CORRELATION_SETS_BY_IDS

          public static final java.lang.String DELETE_CORRELATION_SETS_BY_IDS

      See Also:
        Constant Field Values

    - #### SELECT_CORRELATION_SETS_BY_INSTANCES

          public static final java.lang.String SELECT_CORRELATION_SETS_BY_INSTANCES

      See Also:
        Constant Field Values

    - #### SELECT_CORRELATION_SET_IDS_BY_PROCESS

          public static final java.lang.String SELECT_CORRELATION_SET_IDS_BY_PROCESS

      See Also:
        Constant Field Values

    - #### SELECT_CORRELATION_SET_IDS_BY_INSTANCE

          public static final java.lang.String SELECT_CORRELATION_SET_IDS_BY_INSTANCE

      See Also:
        Constant Field Values

    - #### SELECT_ACTIVE_SETS

          public static final java.lang.String SELECT_ACTIVE_SETS

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### CorrelationSetDAOImpl

          public CorrelationSetDAOImpl()

    - #### CorrelationSetDAOImpl

          public CorrelationSetDAOImpl(ScopeDAOImpl scope,
                               java.lang.String name)

  - ### Method Detail

    - #### getCorrelationSetId

          public java.lang.Long getCorrelationSetId()

      Specified by:
        `getCorrelationSetId` in interface `CorrelationSetDAO`

    - #### getName

          public java.lang.String getName()

      Description copied from interface: `CorrelationSetDAO`
      Get the name of the correlation set.
      Specified by:
        `getName` in interface `CorrelationSetDAO`
      Returns:
        name of the correlation set

    - #### getProperties

          public java.util.Map<javax.xml.namespace.QName,java.lang.String> getProperties()

      Description copied from interface: `CorrelationSetDAO`
      Get correlation set properties with their values as a Map.
      Specified by:
        `getProperties` in interface `CorrelationSetDAO`
      Returns:
        Map with the property qualified name as key and value as Map value.

    - #### getScope

          public ScopeDAO getScope()

      Description copied from interface: `CorrelationSetDAO`
      Get the scope instance to which this correlation set belongs.
      Specified by:
        `getScope` in interface `CorrelationSetDAO`
      Returns:
        owning scope instance
      See Also:
        `ScopeDAO}`

    - #### getValue

          public CorrelationKey getValue()

      Description copied from interface: `CorrelationSetDAO`
      Get the value of the correlation set.
      Specified by:
        `getValue` in interface `CorrelationSetDAO`
      Returns:
        valu of correlation set

    - #### setValue

          public void setValue(javax.xml.namespace.QName[] names,
                      CorrelationKey values)

      Description copied from interface: `CorrelationSetDAO`
      Sets the value of the correlation set.
      Specified by:
        `setValue` in interface `CorrelationSetDAO`
      Parameters:
        `names` - qualified names of the correlation set properties

    - #### getProcess

          public ProcessDAO getProcess()

      Specified by:
        `getProcess` in interface `CorrelationSetDAO`
      Returns:
        the process this correlation is related to, gives a chance of optimization to the underlying impl

    - #### getInstance

          public ProcessInstanceDAO getInstance()

      Specified by:
        `getInstance` in interface `CorrelationSetDAO`
      Returns:
        the instance this correlation is related to, gives a chance of optimization to the underlying impl