Enum PredicateName
- java.lang.Object
-
- java.lang.Enum<PredicateName>
-
- org.citydb.query.filter.selection.PredicateName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PredicateName>
public enum PredicateName extends java.lang.Enum<PredicateName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPARISON_OPERATOR
ID_OPERATOR
LOGICAL_OPERATOR
SPATIAL_OPERATOR
SQL_OPERATOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PredicateName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PredicateName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPARISON_OPERATOR
public static final PredicateName COMPARISON_OPERATOR
-
SPATIAL_OPERATOR
public static final PredicateName SPATIAL_OPERATOR
-
LOGICAL_OPERATOR
public static final PredicateName LOGICAL_OPERATOR
-
ID_OPERATOR
public static final PredicateName ID_OPERATOR
-
SQL_OPERATOR
public static final PredicateName SQL_OPERATOR
-
-
Method Detail
-
values
public static PredicateName[] 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 (PredicateName c : PredicateName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PredicateName valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-