Enum PropertyConditional.DefaultOperators
- java.lang.Object
-
- java.lang.Enum<PropertyConditional.DefaultOperators>
-
- com.broadleafcommerce.metadata.dsl.core.extension.conditionals.PropertyConditional.DefaultOperators
-
- All Implemented Interfaces:
Serializable
,Comparable<PropertyConditional.DefaultOperators>
- Enclosing interface:
- PropertyConditional<C extends PropertyConditional<C>>
public static enum PropertyConditional.DefaultOperators extends Enum<PropertyConditional.DefaultOperators>
The default set of common supported operators.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINS
CONTAINS_IGNORE_CASE
EQUALS
EXISTS
GREATER_THAN
GREATER_THAN_OR_EQUAL_TO
LESS_THAN
LESS_THAN_OR_EQUAL_TO
NONE
Opposite ofEXISTS
NOT_BLANK
NOT_CONTAINS
NOT_CONTAINS_IGNORE_CASE
NOT_EQUALS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyConditional.DefaultOperators
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropertyConditional.DefaultOperators[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final PropertyConditional.DefaultOperators EQUALS
-
NOT_EQUALS
public static final PropertyConditional.DefaultOperators NOT_EQUALS
-
EXISTS
public static final PropertyConditional.DefaultOperators EXISTS
-
NOT_BLANK
public static final PropertyConditional.DefaultOperators NOT_BLANK
-
NONE
public static final PropertyConditional.DefaultOperators NONE
Opposite ofEXISTS
-
GREATER_THAN
public static final PropertyConditional.DefaultOperators GREATER_THAN
-
LESS_THAN
public static final PropertyConditional.DefaultOperators LESS_THAN
-
GREATER_THAN_OR_EQUAL_TO
public static final PropertyConditional.DefaultOperators GREATER_THAN_OR_EQUAL_TO
-
LESS_THAN_OR_EQUAL_TO
public static final PropertyConditional.DefaultOperators LESS_THAN_OR_EQUAL_TO
-
CONTAINS
public static final PropertyConditional.DefaultOperators CONTAINS
-
CONTAINS_IGNORE_CASE
public static final PropertyConditional.DefaultOperators CONTAINS_IGNORE_CASE
-
NOT_CONTAINS
public static final PropertyConditional.DefaultOperators NOT_CONTAINS
-
NOT_CONTAINS_IGNORE_CASE
public static final PropertyConditional.DefaultOperators NOT_CONTAINS_IGNORE_CASE
-
-
Method Detail
-
values
public static PropertyConditional.DefaultOperators[] 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 (PropertyConditional.DefaultOperators c : PropertyConditional.DefaultOperators.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyConditional.DefaultOperators 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
-
-