Enum Conditions.ComparisonCondition.CmpOperator
- java.lang.Object
-
- java.lang.Enum<Conditions.ComparisonCondition.CmpOperator>
-
- de.hybris.platform.persistence.polyglot.search.criteria.Conditions.ComparisonCondition.CmpOperator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Conditions.ComparisonCondition.CmpOperator>
- Enclosing class:
- Conditions.ComparisonCondition
public static enum Conditions.ComparisonCondition.CmpOperator extends java.lang.Enum<Conditions.ComparisonCondition.CmpOperator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALGREATER_OR_EQUAL_THANGREATER_THANLESS_OR_EQUAL_THANLESS_THANNOT_EQUAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Conditions.ComparisonCondition.CmpOperatorfromString(java.lang.String str)java.lang.StringgetOperatorStr()booleanmatchesCompareResult(int compareResult)java.lang.StringtoString()static Conditions.ComparisonCondition.CmpOperatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Conditions.ComparisonCondition.CmpOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final Conditions.ComparisonCondition.CmpOperator EQUAL
-
NOT_EQUAL
public static final Conditions.ComparisonCondition.CmpOperator NOT_EQUAL
-
LESS_THAN
public static final Conditions.ComparisonCondition.CmpOperator LESS_THAN
-
LESS_OR_EQUAL_THAN
public static final Conditions.ComparisonCondition.CmpOperator LESS_OR_EQUAL_THAN
-
GREATER_THAN
public static final Conditions.ComparisonCondition.CmpOperator GREATER_THAN
-
GREATER_OR_EQUAL_THAN
public static final Conditions.ComparisonCondition.CmpOperator GREATER_OR_EQUAL_THAN
-
-
Method Detail
-
values
public static Conditions.ComparisonCondition.CmpOperator[] 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 (Conditions.ComparisonCondition.CmpOperator c : Conditions.ComparisonCondition.CmpOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Conditions.ComparisonCondition.CmpOperator 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
-
getOperatorStr
public java.lang.String getOperatorStr()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<Conditions.ComparisonCondition.CmpOperator>
-
fromString
public static Conditions.ComparisonCondition.CmpOperator fromString(java.lang.String str)
-
matchesCompareResult
public boolean matchesCompareResult(int compareResult)
-
-