Package org.kie.api.runtime.process

## Interface CaseData

-     public interface CaseData

  Top level of Case(File)Data that holds all shared information within a case.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `add​(java.lang.String name, java.lang.Object data)` | Add single data item into existing case file (replaces already existing data that matches with input)
    `java.util.Map<java.lang.String,​java.lang.Object>` | `getData()` | Returns all available case data for given case.
    `java.lang.Object` | `getData​(java.lang.String name)` | Returns case data for given case registered under given name.
    `java.lang.String` | `getDefinitionId()` | Returns case definition id of this case file
    `void` | `remove​(java.lang.String name)` | Remove permanently given data from existing case file

- - ### Method Detail

    - #### getData

          java.util.Map<java.lang.String,​java.lang.Object> getData()

      Returns all available case data for given case.
      Returns:

    - #### getData

          java.lang.Object getData​(java.lang.String name)

      Returns case data for given case registered under given name.
      Returns:

    - #### add

          void add​(java.lang.String name,
                   java.lang.Object data)

      Add single data item into existing case file (replaces already existing data that matches with input)
      Parameters:
        `name` -
        `data` -

    - #### remove

          void remove​(java.lang.String name)

      Remove permanently given data from existing case file
      Parameters:
        `name` -

    - #### getDefinitionId

          java.lang.String getDefinitionId()

      Returns case definition id of this case file
      Returns: