public class OrClause extends MultiClause
Constructor and Description |
---|
OrClause(Clause... clauses) |
OrClause(Collection<? extends Clause> clauses) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(ClauseVisitor<R> visitor)
Allows us to perform operations over the clauses based on the passed in visitor.
|
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.
|
equals, getClauses, hashCode, toString
public static final String OR
public OrClause(Clause... clauses)
public OrClause(Collection<? extends Clause> clauses)
public String getName()
Clause
public <R> R accept(ClauseVisitor<R> visitor)
Clause
visitor
- the visitor to accept.Copyright © 2002-2022 Atlassian. All Rights Reserved.