Package org.kie.pmml.api.enums
Enum OPERATOR
- java.lang.Object
-
- java.lang.Enum<OPERATOR>
-
- org.kie.pmml.api.enums.OPERATOR
-
- All Implemented Interfaces:
Serializable,Comparable<OPERATOR>
public enum OPERATOR extends Enum<OPERATOR>
- See Also:
- PREDICATE
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALGREATER_OR_EQUALGREATER_THANIS_MISSINGIS_NOT_MISSINGLESS_OR_EQUALLESS_THANNOT_EQUAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OPERATORbyName(String name)StringgetName()StringgetOperator()booleanisOnlyNumberOperator()Returnstrueif theOPERATORis applicable only forNUMBERsbooleanisValueOperator()static OPERATORvalueOf(String name)Returns the enum constant of this type with the specified name.static OPERATOR[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final OPERATOR EQUAL
-
NOT_EQUAL
public static final OPERATOR NOT_EQUAL
-
LESS_THAN
public static final OPERATOR LESS_THAN
-
LESS_OR_EQUAL
public static final OPERATOR LESS_OR_EQUAL
-
GREATER_THAN
public static final OPERATOR GREATER_THAN
-
GREATER_OR_EQUAL
public static final OPERATOR GREATER_OR_EQUAL
-
IS_MISSING
public static final OPERATOR IS_MISSING
-
IS_NOT_MISSING
public static final OPERATOR IS_NOT_MISSING
-
-
Method Detail
-
values
public static OPERATOR[] 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 (OPERATOR c : OPERATOR.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OPERATOR 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
-
isOnlyNumberOperator
public boolean isOnlyNumberOperator()
Returnstrueif theOPERATORis applicable only forNUMBERs- Returns:
-
isValueOperator
public boolean isValueOperator()
-
getName
public String getName()
-
getOperator
public String getOperator()
-
-