Package com.github.loyada.jdollarx
Enum RelationOperator
- java.lang.Object
-
- java.lang.Enum<RelationOperator>
-
- com.github.loyada.jdollarx.RelationOperator
-
- All Implemented Interfaces:
Serializable
,Comparable<RelationOperator>
public enum RelationOperator extends Enum<RelationOperator>
Internal implementation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
opAsEnglish(RelationOperator op)
static String
opAsXpathString(RelationOperator op)
static RelationOperator
valueOf(String name)
Returns the enum constant of this type with the specified name.static RelationOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
exactly
public static final RelationOperator exactly
-
orMore
public static final RelationOperator orMore
-
orLess
public static final RelationOperator orLess
-
-
Method Detail
-
values
public static RelationOperator[] 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 (RelationOperator c : RelationOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelationOperator valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
opAsXpathString
public static String opAsXpathString(RelationOperator op)
-
opAsEnglish
public static String opAsEnglish(RelationOperator op)
-
-