Package cronapp.reports.j4c.commons
Enum J4CMatchOperator
- java.lang.Object
-
- java.lang.Enum<J4CMatchOperator>
-
- cronapp.reports.j4c.commons.J4CMatchOperator
-
- All Implemented Interfaces:
Serializable,Comparable<J4CMatchOperator>
public enum J4CMatchOperator extends Enum<J4CMatchOperator>
Operadores de comparação. Created by arthemus on 21/09/2016.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALSGREATERGREATER_EQUALLESSLESS_EQUALLIKENOT_EQUAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static J4CMatchOperatorgetByOperator(String operator)StringgetOperator()static String[]names()static String[]operators()static J4CMatchOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static J4CMatchOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final J4CMatchOperator EQUALS
-
GREATER
public static final J4CMatchOperator GREATER
-
GREATER_EQUAL
public static final J4CMatchOperator GREATER_EQUAL
-
LESS
public static final J4CMatchOperator LESS
-
LESS_EQUAL
public static final J4CMatchOperator LESS_EQUAL
-
LIKE
public static final J4CMatchOperator LIKE
-
NOT_EQUAL
public static final J4CMatchOperator NOT_EQUAL
-
-
Method Detail
-
values
public static J4CMatchOperator[] 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 (J4CMatchOperator c : J4CMatchOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static J4CMatchOperator 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
-
getOperator
public String getOperator()
-
names
public static String[] names()
-
operators
public static String[] operators()
-
getByOperator
public static J4CMatchOperator getByOperator(String operator)
-
-