com.atlassian.jira.jql.operator
Class OperatorClasses

java.lang.Object
  extended by com.atlassian.jira.jql.operator.OperatorClasses

public final class OperatorClasses
extends Object

Contains classes for operators.

Since:
v4.0

Field Summary
static Set<Operator> CHANGE_HISTORY_DATE_PREDICATES
          A set of change history predicates that support date searching.
static Set<Operator> CHANGE_HISTORY_OPERATORS
          A set of change history operators
static Set<Operator> CHANGE_HISTORY_PREDICATES
          A set of change history predicates.
static Set<Operator> CHANGE_HISTORY_VALUE_PREDICATES
          A set of change history predicates.
static Set<Operator> EMPTY_ONLY_OPERATORS
          A set of operators that work exclusively on the EMPTY clause.
static Set<Operator> EMPTY_OPERATORS
          A set of operators that can work on the EMPTY clause.
static Set<Operator> EQUALITY_AND_RELATIONAL
          A set of EQUALITY_OPERATORS and RELATIONAL_ONLY_OPERATORS.
static Set<Operator> EQUALITY_AND_RELATIONAL_WITH_EMPTY
          A set of EQUALITY_OPERATORS_WITH_EMPTY and RELATIONAL_ONLY_OPERATORS.
static Set<Operator> EQUALITY_OPERATORS
          The set of operators that a clause needs to support if it supports the EQUALS operator.
static Set<Operator> EQUALITY_OPERATORS_WITH_EMPTY
          A set of operators that a clause needs to support if it suppors the EQUALS operator and the EMPTY operand.
static Set<Operator> LIST_ONLY_OPERATORS
          Set of operators that work with lists.
static Set<Operator> NEGATIVE_EQUALITY_OPERATORS
          Contains NOT_EQUALS, NOT_IN, and IS_NOT.
static Set<Operator> NON_RELATIONAL_OPERATORS
          A set of all non-relational operators.
static Set<Operator> POSITIVE_EQUALITY_OPERATORS
          Contains EQUALS, IN, and IS.
static Set<Operator> RELATIONAL_ONLY_OPERATORS
          Contains GREATER_THAN, GREATER_THAN_EQUALS, LESS_THAN and LESS_THAN_EQUALS.
static Set<Operator> TEXT_OPERATORS
          A set of operators that can work on text clauses.
 
Method Summary
protected  Object clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NON_RELATIONAL_OPERATORS

public static final Set<Operator> NON_RELATIONAL_OPERATORS
A set of all non-relational operators. Contains NOT_EQUALS, EQUALS, NOT_LIKE, LIKE, NOT_IN, IN, IS_NOT, and IS.


EMPTY_ONLY_OPERATORS

public static final Set<Operator> EMPTY_ONLY_OPERATORS
A set of operators that work exclusively on the EMPTY clause. Contains IS_NOT and IS.


EMPTY_OPERATORS

public static final Set<Operator> EMPTY_OPERATORS
A set of operators that can work on the EMPTY clause. Contains NO_EQUALS, EQUALS, NOT_LIKE, LIKE, IS_NOT, and IS. Also contains the history operators was and was not


TEXT_OPERATORS

public static final Set<Operator> TEXT_OPERATORS
A set of operators that can work on text clauses. Contains NOT_LIKE, LIKE, IS_NOT, and IS.


POSITIVE_EQUALITY_OPERATORS

public static final Set<Operator> POSITIVE_EQUALITY_OPERATORS
Contains EQUALS, IN, and IS.


NEGATIVE_EQUALITY_OPERATORS

public static final Set<Operator> NEGATIVE_EQUALITY_OPERATORS
Contains NOT_EQUALS, NOT_IN, and IS_NOT.


EQUALITY_OPERATORS_WITH_EMPTY

public static final Set<Operator> EQUALITY_OPERATORS_WITH_EMPTY
A set of operators that a clause needs to support if it suppors the EQUALS operator and the EMPTY operand. Contains EQUALS, NOT_EQUALS, NOT_IN, IN, IS_NOT and IS.


EQUALITY_OPERATORS

public static final Set<Operator> EQUALITY_OPERATORS
The set of operators that a clause needs to support if it supports the EQUALS operator. Cotains EQUALS, NOT_EQUALS, NOT_IN and IN.


LIST_ONLY_OPERATORS

public static final Set<Operator> LIST_ONLY_OPERATORS
Set of operators that work with lists. Cotnains NOT_IN and IN.


RELATIONAL_ONLY_OPERATORS

public static final Set<Operator> RELATIONAL_ONLY_OPERATORS
Contains GREATER_THAN, GREATER_THAN_EQUALS, LESS_THAN and LESS_THAN_EQUALS.


EQUALITY_AND_RELATIONAL

public static final Set<Operator> EQUALITY_AND_RELATIONAL
A set of EQUALITY_OPERATORS and RELATIONAL_ONLY_OPERATORS.


CHANGE_HISTORY_PREDICATES

public static final Set<Operator> CHANGE_HISTORY_PREDICATES
A set of change history predicates.


CHANGE_HISTORY_VALUE_PREDICATES

public static final Set<Operator> CHANGE_HISTORY_VALUE_PREDICATES
A set of change history predicates.


CHANGE_HISTORY_DATE_PREDICATES

public static final Set<Operator> CHANGE_HISTORY_DATE_PREDICATES
A set of change history predicates that support date searching.


CHANGE_HISTORY_OPERATORS

public static final Set<Operator> CHANGE_HISTORY_OPERATORS
A set of change history operators


EQUALITY_AND_RELATIONAL_WITH_EMPTY

public static final Set<Operator> EQUALITY_AND_RELATIONAL_WITH_EMPTY
A set of EQUALITY_OPERATORS_WITH_EMPTY and RELATIONAL_ONLY_OPERATORS.

Method Detail

clone

protected Object clone()
                throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2002-2014 Atlassian. All Rights Reserved.