Package com.atlassian.query.clause
Class AndClause
java.lang.Object
com.atlassian.query.clause.MultiClause
com.atlassian.query.clause.AndClause
- All Implemented Interfaces:
Clause
,Serializable
Used to represent a logical AND in the query tree.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<R> R
accept
(ClauseVisitor<R> visitor) Allows us to perform operations over the clauses based on the passed in visitor.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.Methods inherited from class com.atlassian.query.clause.MultiClause
equals, getClauses, hashCode, toString
-
Field Details
-
AND
- See Also:
-
-
Constructor Details
-
AndClause
-
AndClause
-
-
Method Details
-
getName
Description copied from interface:Clause
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.
-
accept
Description copied from interface:Clause
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.
-