Package com.adobe.granite.taskmanagement
Enum ComparisonOperator
- java.lang.Object
 - 
- java.lang.Enum<ComparisonOperator>
 - 
- com.adobe.granite.taskmanagement.ComparisonOperator
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable,java.lang.Comparable<ComparisonOperator>
public enum ComparisonOperator extends java.lang.Enum<ComparisonOperator>
ComparisonOperatoris used in the construction ofFilterexpressions. 
- 
- 
Enum Constant Summary
Enum Constants Enum Constant Description BEGINS_WITHA value that represents the Begins With operator.CONTAINSA value that represents the Contains operator.ENDS_WITHA value that represents the Ends With operator.EQUALSA value that represents the Equals operator.GREATER_THANA value that represents the Greater Than operator.GREATER_THAN_EQUALSA value that represents the Greater Than Or Equals operator.IN_LISTA value that represents the In list operator.LESS_THANA value that represents the Less Than operator.LESS_THAN_EQUALSA value that represents the Less Than Or Equals operator.NOT_EQUALSA value that represents the Not Equals operator. 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComparisonOperatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ComparisonOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared. 
 - 
 
- 
- 
Enum Constant Detail
- 
EQUALS
public static final ComparisonOperator EQUALS
A value that represents the Equals operator. 
- 
GREATER_THAN
public static final ComparisonOperator GREATER_THAN
A value that represents the Greater Than operator. 
- 
LESS_THAN
public static final ComparisonOperator LESS_THAN
A value that represents the Less Than operator. 
- 
NOT_EQUALS
public static final ComparisonOperator NOT_EQUALS
A value that represents the Not Equals operator. 
- 
GREATER_THAN_EQUALS
public static final ComparisonOperator GREATER_THAN_EQUALS
A value that represents the Greater Than Or Equals operator. 
- 
LESS_THAN_EQUALS
public static final ComparisonOperator LESS_THAN_EQUALS
A value that represents the Less Than Or Equals operator. 
- 
BEGINS_WITH
public static final ComparisonOperator BEGINS_WITH
A value that represents the Begins With operator. 
- 
ENDS_WITH
public static final ComparisonOperator ENDS_WITH
A value that represents the Ends With operator. 
- 
CONTAINS
public static final ComparisonOperator CONTAINS
A value that represents the Contains operator. 
- 
IN_LIST
public static final ComparisonOperator IN_LIST
A value that represents the In list operator. 
 - 
 
- 
Method Detail
- 
values
public static ComparisonOperator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ComparisonOperator c : ComparisonOperator.values()) System.out.println(c);
- Returns:
 - an array containing the constants of this enum type, in the order they are declared
 
 
- 
valueOf
public static ComparisonOperator valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
 name- the name of the enum constant to be returned.- Returns:
 - the enum constant with the specified name
 - Throws:
 java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
 
 - 
 
 -