org.eclipse.incquery.runtime.rete.recipes

## Interface ConstantRecipe

- All Superinterfaces:
    org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, ReteNodeRecipe
  All Known Implementing Classes:
    ConstantRecipeImpl

      public interface ConstantRecipe
      extends ReteNodeRecipe

  A representation of the model object 'Constant Recipe'. Simple node that stores constant values.

  The following features are supported:

  - `Constant Values`
  See Also:
    `RecipesPackage.getConstantRecipe()`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getArity()`
    `org.eclipse.emf.common.util.EList<java.lang.Object>` | `getConstantValues()` Returns the value of the 'Constant Values' attribute list.

    - ### Methods inherited from interface org.eclipse.incquery.runtime.rete.recipes.ReteNodeRecipe

      `getTraceInfo, setTraceInfo`

    - ### Methods inherited from interface org.eclipse.emf.ecore.EObject

      `eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset`

    - ### Methods inherited from interface org.eclipse.emf.common.notify.Notifier

      `eAdapters, eDeliver, eNotify, eSetDeliver`

- - ### Method Detail

    - #### getConstantValues

          org.eclipse.emf.common.util.EList<java.lang.Object> getConstantValues()

      Returns the value of the 'Constant Values' attribute list. The list contents are of type `Object`. Stores constant values. May be empty. TODO store constants as strings instead? (for easier serialization)
      Returns:
        the value of the 'Constant Values' attribute list.
      See Also:
        `RecipesPackage.getConstantRecipe_ConstantValues()`

    - #### getArity

          int getArity()

      Specified by:
        `getArity` in interface `ReteNodeRecipe`