Package de.jaggl.sqlbuilder.conditions
Enum GenericCondition.GenericConditionType
- java.lang.Object
-
- java.lang.Enum<GenericCondition.GenericConditionType>
-
- de.jaggl.sqlbuilder.conditions.GenericCondition.GenericConditionType
-
- All Implemented Interfaces:
Serializable
,Comparable<GenericCondition.GenericConditionType>
- Enclosing class:
- GenericCondition
public static enum GenericCondition.GenericConditionType extends Enum<GenericCondition.GenericConditionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IS_BETWEEN
IS_EQUAL_TO
IS_GREATER_THAN
IS_GREATER_THAN_OR_EQUAL_TO
IS_LESS_THAN
IS_LESS_THAN_OR_EQUAL_TO
IS_LIKE
IS_NOT_EQUAL_TO
IS_NOT_LIKE
IS_NOT_NULL
IS_NULL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRenderingString(BuildingContext context)
static GenericCondition.GenericConditionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GenericCondition.GenericConditionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IS_EQUAL_TO
public static final GenericCondition.GenericConditionType IS_EQUAL_TO
-
IS_NOT_EQUAL_TO
public static final GenericCondition.GenericConditionType IS_NOT_EQUAL_TO
-
IS_GREATER_THAN
public static final GenericCondition.GenericConditionType IS_GREATER_THAN
-
IS_GREATER_THAN_OR_EQUAL_TO
public static final GenericCondition.GenericConditionType IS_GREATER_THAN_OR_EQUAL_TO
-
IS_LESS_THAN
public static final GenericCondition.GenericConditionType IS_LESS_THAN
-
IS_LESS_THAN_OR_EQUAL_TO
public static final GenericCondition.GenericConditionType IS_LESS_THAN_OR_EQUAL_TO
-
IS_LIKE
public static final GenericCondition.GenericConditionType IS_LIKE
-
IS_NOT_LIKE
public static final GenericCondition.GenericConditionType IS_NOT_LIKE
-
IS_BETWEEN
public static final GenericCondition.GenericConditionType IS_BETWEEN
-
IS_NULL
public static final GenericCondition.GenericConditionType IS_NULL
-
IS_NOT_NULL
public static final GenericCondition.GenericConditionType IS_NOT_NULL
-
-
Method Detail
-
values
public static GenericCondition.GenericConditionType[] 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 (GenericCondition.GenericConditionType c : GenericCondition.GenericConditionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenericCondition.GenericConditionType 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
-
getRenderingString
public String getRenderingString(BuildingContext context)
-
-