com.atlassian.query.clause
Class MultiClause
java.lang.Object
com.atlassian.query.clause.MultiClause
- All Implemented Interfaces:
- Clause
- Direct Known Subclasses:
- AndClause, OrClause
public abstract class MultiClause
- extends Object
- implements Clause
An abstract class that will contain multiple clauses.
MultiClause
protected MultiClause(Collection<? extends Clause> clauses)
getClauses
public List<Clause> getClauses()
- Specified by:
getClauses in interface Clause
- Returns:
- child clauses if the clause has any, empty list if it has none.
toString
public String toString()
- Description copied from interface:
Clause
- Return a string representation of the clause. This string representation should not be used to represent
the clause to the user as it may not be valid. For example, this method makes no attempt to escape invalid
names and strings.
- Specified by:
toString in interface Clause- Overrides:
toString in class Object
- Returns:
- the string representation of the clause.
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2002-2014 Atlassian. All Rights Reserved.