Class RExpressionbase

  • All Implemented Interfaces:
    IElement, IExpressionbase

    public class RExpressionbase
    extends jadex.bdiv3.runtime.impl.RElement
    implements IExpressionbase
    The expression base runtime element.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​IExpression> expressions
      The expressions.
      • Fields inherited from class jadex.bdiv3.runtime.impl.RElement

        agent, cnt, id, modelelement
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IExpression createExpression​(java.lang.String expression)
      Create a precompiled expression.
      IExpression getExpression​(java.lang.String name)
      Get a predefined expression.
      • Methods inherited from class jadex.bdiv3.runtime.impl.RElement

        getAgent, getCapability, getId, getMCapability, getModelElement, getRuleSystem, setId, setModelElement, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • expressions

        protected java.util.Map<java.lang.String,​IExpression> expressions
        The expressions.
    • Constructor Detail

      • RExpressionbase

        public RExpressionbase​(IInternalAccess agent)
        Create a new beliefbase.
    • Method Detail

      • getExpression

        public IExpression getExpression​(java.lang.String name)
        Get a predefined expression. Creates a new instance on every call.
        Specified by:
        getExpression in interface IExpressionbase
        Parameters:
        name - The name of an expression defined in the ADF.
        Returns:
        The expression object.
      • createExpression

        public IExpression createExpression​(java.lang.String expression)
        Create a precompiled expression.
        Specified by:
        createExpression in interface IExpressionbase
        Parameters:
        expression - The expression string.
        Returns:
        The precompiled expression.