Class RExpressionbase.RExpression

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected UnparsedExpression uexp
      The unparsed expression.
      • 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
      java.lang.Object execute()
      Execute the query.
      java.lang.Object execute​(java.lang.String[] names, java.lang.Object[] values)
      Execute the query using local parameters.
      java.lang.Object execute​(java.lang.String name, java.lang.Object value)
      Execute the query using a local parameter.
      IParsedExpression getParsedExpression()  
      java.lang.Object getValue()
      Evaluate the 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
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Evaluate the expression.
        Specified by:
        getValue in interface IExpression
        Returns:
        The value of the expression.
      • execute

        public java.lang.Object execute()
        Execute the query.
        Specified by:
        execute in interface IExpression
        Returns:
        the result value of the query.
      • execute

        public java.lang.Object execute​(java.lang.String name,
                                        java.lang.Object value)
        Execute the query using a local parameter.
        Specified by:
        execute in interface IExpression
        Parameters:
        name - The name of the local parameter.
        value - The value of the local parameter.
        Returns:
        the result value of the query.
      • execute

        public java.lang.Object execute​(java.lang.String[] names,
                                        java.lang.Object[] values)
        Execute the query using local parameters.
        Specified by:
        execute in interface IExpression
        Parameters:
        names - The names of parameters.
        values - The parameter values.
        Returns:
        The return value.