Class ExpressionbaseWrapper

    • Field Detail

      • expressionbase

        protected IExpressionbase expressionbase
        The flat expression base.
      • prefix

        protected java.lang.String prefix
        The full capability prefix.
    • Constructor Detail

      • ExpressionbaseWrapper

        public ExpressionbaseWrapper​(IExpressionbase expressionbase,
                                     java.lang.String prefix)
        Create an expression base wrapper.
    • Method Detail

      • getModelElement

        public MElement getModelElement()
        Get the model element.
        Specified by:
        getModelElement in interface IElement
        Returns:
        The model element.
      • 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.
      • getCount

        public long getCount()
        Get the element count.
        Specified by:
        getCount in interface IElement
        Returns:
        The element count.
      • getId

        public java.lang.String getId()
        Get the id.
        Specified by:
        getId in interface IElement
        Returns:
        The id.