org.eclipse.viatra.query.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()`
  Generated:
  Model:

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `copyright`

  - ### 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.viatra.query.runtime.rete.recipes.ReteNodeRecipe

      `getEquivalenceClassIDs, 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`

- - ### Field Detail

    - #### copyright

          static final java.lang.String copyright

      See Also:
        Constant Field Values
      Generated:

  - ### 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()`
      Generated:
      Model:
        unique="false"

    - #### getArity

          int getArity()

      Specified by:
        `getArity` in interface `ReteNodeRecipe`
      Generated:
      Model:
        kind="operation" unique="false"