Package cronapp.reports.j4c.dataset.jdbc
Enum SqlOperatorType
- java.lang.Object
-
- java.lang.Enum<SqlOperatorType>
-
- cronapp.reports.j4c.dataset.jdbc.SqlOperatorType
-
- All Implemented Interfaces:
Serializable,Comparable<SqlOperatorType>
public enum SqlOperatorType extends Enum<SqlOperatorType>
- Author:
- elton.nascimento on 24/07/18
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BETWEENEQUALGREATERGREATEREQUALINLIKEMINORMINOR_EQUALNOTEQUAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()static List<String>getSqlTypesDescription()static SqlOperatorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SqlOperatorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final SqlOperatorType EQUAL
-
NOTEQUAL
public static final SqlOperatorType NOTEQUAL
-
GREATER
public static final SqlOperatorType GREATER
-
GREATEREQUAL
public static final SqlOperatorType GREATEREQUAL
-
MINOR
public static final SqlOperatorType MINOR
-
MINOR_EQUAL
public static final SqlOperatorType MINOR_EQUAL
-
LIKE
public static final SqlOperatorType LIKE
-
BETWEEN
public static final SqlOperatorType BETWEEN
-
IN
public static final SqlOperatorType IN
-
-
Method Detail
-
values
public static SqlOperatorType[] 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 (SqlOperatorType c : SqlOperatorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlOperatorType 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
-
getDescription
public String getDescription()
-
-