Package com.atlassian.query.clause
Class ChangedClauseImpl
java.lang.Object
com.atlassian.query.clause.ChangedClauseImpl
- All Implemented Interfaces:
ChangedClause,Clause,Serializable
Implementation of ChangedClasue
- Since:
- v5.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChangedClauseImpl(ChangedClause clause) ChangedClauseImpl(String field, Operator operator, HistoryPredicate historyPredicate) -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(ClauseVisitor<R> visitor) Allows us to perform operations over the clauses based on the passed in visitor.booleangetField()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.inthashCode()toString()Return a string representation of the clause.
-
Constructor Details
-
ChangedClauseImpl
-
ChangedClauseImpl
-
-
Method Details
-
getField
- Specified by:
getFieldin interfaceChangedClause
-
getPredicate
- Specified by:
getPredicatein interfaceChangedClause
-
getOperator
- Specified by:
getOperatorin interfaceChangedClause
-
getName
Description copied from interface:ClauseThe name of the individual clause, this should be unique amongst the implementations otherwise the clauses will be treated as the "same" type of clause. -
getClauses
- Specified by:
getClausesin interfaceClause- Returns:
- child clauses if the clause has any, empty list if it has none.
-
accept
Description copied from interface:ClauseAllows 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. -
toString
Description copied from interface:ClauseReturn 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. -
equals
-
hashCode
public int hashCode()
-