All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.enonic.xp.query.expr.NotExpr Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.query.expr;

import com.enonic.xp.annotation.PublicApi;

@PublicApi
public final class NotExpr
    implements ConstraintExpr
{
    private final Expression expr;

    public NotExpr( final ConstraintExpr expr )
    {
        this.expr = expr;
    }

    public Expression getExpression()
    {
        return this.expr;
    }

    @Override
    public String toString()
    {
        return "NOT (" + this.expr.toString() + ")";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy