public class

NotClause

extends Object
implements Clause
java.lang.Object
   ↳ com.atlassian.query.clause.NotClause

Class Overview

Used to represent a logical NOT in the query tree.

Summary

Constants
String NOT
Public Constructors
NotClause(Clause subClause)
Public Methods
<R> R accept(ClauseVisitor<R> visitor)
Allows us to perform operations over the clauses based on the passed in visitor.
boolean equals(Object o)
List<Clause> getClauses()
String getName()
The name of the individual clause, this should be unique amongst the implementations otherwise the clauses will be treated as the "same" type of clause.
Clause getSubClause()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.query.clause.Clause

Constants

public static final String NOT

Constant Value: "NOT"

Public Constructors

public NotClause (Clause subClause)

Public Methods

public R accept (ClauseVisitor<R> visitor)

Allows us to perform operations over the clauses based on the passed in visitor. This method calls the visit method on the visitor with this reference.

Parameters
visitor the visitor to accept.
Returns
  • the result of the visit operation who's type is specified by the incoming visitor.

public boolean equals (Object o)

public List<Clause> getClauses ()

public String getName ()

The name of the individual clause, this should be unique amongst the implementations otherwise the clauses will be treated as the "same" type of clause.

Returns
  • the name of the individual clause.

public Clause getSubClause ()

public int hashCode ()

public String toString ()