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:

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    org.eclipse.emf.common.util.EList<Object>
    Returns the value of the 'Constant Values' attribute list.

    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

    Methods inherited from interface tools.refinery.interpreter.rete.recipes.ReteNodeRecipe

    getCachedHashCode, getEquivalenceClassIDs, getTraceInfo, isConstructed, setCachedHashCode, setConstructed, setTraceInfo
  • Field Details

  • Method Details

    • getConstantValues

      org.eclipse.emf.common.util.EList<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:
    • getArity

      int getArity()
      Specified by:
      getArity in interface ReteNodeRecipe