Class BooleanExpression

    • Constructor Detail

      • BooleanExpression

        public BooleanExpression​(String metadata,
                                 boolean value)
        Creates the comparison Expression.
        Parameters:
        metadata - the metadata name
        value - the boolean value
      • BooleanExpression

        public BooleanExpression​(String metadata,
                                 Expression.Operator operator,
                                 boolean value)
        Creates the comparison Expression.
        Parameters:
        metadata - the metadata name
        operator - the operator to make the comparison
        value - the boolean value
      • BooleanExpression

        public BooleanExpression​(String metadata,
                                 boolean value,
                                 ExpressionContext context)
        Creates the comparison Expression.
        Parameters:
        metadata - the metadata name
        value - the boolean value
        context - the expression context
      • BooleanExpression

        public BooleanExpression​(String metadata,
                                 Expression.Operator operator,
                                 boolean value,
                                 ExpressionContext context)
        Creates the comparison Expression.
        Parameters:
        metadata - the metadata name
        operator - the operator to make the comparison
        value - the boolean value
        context - the expression context
    • Method Detail

      • build

        public String build()
        Description copied from interface: Expression
        Build the expression.
        Specified by:
        build in interface Expression
        Returns:
        The XPath view of the expression.