com.atlassian.jira.jql.operator
Class OperatorClasses

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

public final class OperatorClasses
extends java.lang.Object

Contains classes for operators.

Since:
v4.0

Field Summary
static java.util.Set<Operator> EMPTY_ONLY_OPERATORS
          A set of operators that work exclusively on the EMPTY clause.
static java.util.Set<Operator> EMPTY_OPERATORS
          A set of operators that can work on the EMPTY clause.
static java.util.Set<Operator> EQUALITY_AND_RELATIONAL
          A set of EQUALITY_OPERATORS and RELATIONAL_ONLY_OPERATORS.
static java.util.Set<Operator> EQUALITY_AND_RELATIONAL_WITH_EMPTY
          A set of EQUALITY_OPERATORS_WITH_EMPTY and RELATIONAL_ONLY_OPERATORS.
static java.util.Set<Operator> EQUALITY_OPERATORS
          The set of operators that a clause needs to support if it supports the EQUALS operator.
static java.util.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 java.util.Set<Operator> LIST_ONLY_OPERATORS
          Set of operators that work with lists.
static java.util.Set<Operator> NEGATIVE_EQUALITY_OPERATORS
          Contains NOT_EQUALS, NOT_IN, and IS_NOT.
static java.util.Set<Operator> NON_RELATIONAL_OPERATORS
          A set of all non-relational operators.
static java.util.Set<Operator> POSITIVE_EQUALITY_OPERATORS
          Contains EQUALS, IN, and IS.
static java.util.Set<Operator> RELATIONAL_ONLY_OPERATORS
          Contains GREATER_THAN, GREATER_THAN_EQUALS, LESS_THAN and LESS_THAN_EQUALS.
static java.util.Set<Operator> TEXT_OPERATORS
          A set of operators that can work on text clauses.
 
Method Summary
protected  java.lang.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 java.util.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 java.util.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 java.util.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.


TEXT_OPERATORS

public static final java.util.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 java.util.Set<Operator> POSITIVE_EQUALITY_OPERATORS
Contains EQUALS, IN, and IS.


NEGATIVE_EQUALITY_OPERATORS

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


EQUALITY_OPERATORS_WITH_EMPTY

public static final java.util.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 java.util.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 java.util.Set<Operator> LIST_ONLY_OPERATORS
Set of operators that work with lists. Cotnains NOT_IN and IN.


RELATIONAL_ONLY_OPERATORS

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


EQUALITY_AND_RELATIONAL

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


EQUALITY_AND_RELATIONAL_WITH_EMPTY

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

Method Detail

clone

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


Copyright © 2002-2011 Atlassian. All Rights Reserved.