Enum StringFunctions
- java.lang.Object
-
- java.lang.Enum<StringFunctions>
-
- org.kie.pmml.api.enums.builtinfunctions.StringFunctions
-
- All Implemented Interfaces:
Serializable,Comparable<StringFunctions>
public enum StringFunctions extends Enum<StringFunctions>
- See Also:
- Built-in functions
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONCATFORMAT_DATE_TIMEFORMAT_NUMBERLOWERCASEMATCHESREPLACESTRING_LENGTHSUBSTRINGTRIM_BLANKSUPPERCASE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringFunctionsbyName(String name)StringgetName()ObjectgetValue(Object[] inputData)static booleanisStringFunctions(String name)static StringFunctionsvalueOf(String name)Returns the enum constant of this type with the specified name.static StringFunctions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPPERCASE
public static final StringFunctions UPPERCASE
-
LOWERCASE
public static final StringFunctions LOWERCASE
-
STRING_LENGTH
public static final StringFunctions STRING_LENGTH
-
SUBSTRING
public static final StringFunctions SUBSTRING
-
TRIM_BLANKS
public static final StringFunctions TRIM_BLANKS
-
CONCAT
public static final StringFunctions CONCAT
-
REPLACE
public static final StringFunctions REPLACE
-
MATCHES
public static final StringFunctions MATCHES
-
FORMAT_NUMBER
public static final StringFunctions FORMAT_NUMBER
-
FORMAT_DATE_TIME
public static final StringFunctions FORMAT_DATE_TIME
-
-
Method Detail
-
values
public static StringFunctions[] 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 (StringFunctions c : StringFunctions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StringFunctions 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
-
isStringFunctions
public static boolean isStringFunctions(String name)
-
byName
public static StringFunctions byName(String name)
-
getName
public String getName()
-
-