public enum LoadValuesScriptFunction extends java.lang.Enum<LoadValuesScriptFunction> implements ScriptFunction
ScriptFunction.Mapping| Enum Constant and Description |
|---|
ENTITY
The function executed to load values when either creating or modifying an entity
|
FILTER
The function executed to load values when the field is being used as search filter or in a bulk action.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PREFIX |
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
messageKey()
Returns a message key to use for this function
|
java.lang.String |
prefix()
Returns the prefix used by this class
|
boolean |
required()
Returns whether the function is required
|
static LoadValuesScriptFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoadValuesScriptFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final LoadValuesScriptFunction ENTITY
public static final LoadValuesScriptFunction FILTER
public static final java.lang.String PREFIX
public static LoadValuesScriptFunction[] values()
for (LoadValuesScriptFunction c : LoadValuesScriptFunction.values()) System.out.println(c);
public static LoadValuesScriptFunction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic MessageKey messageKey()
ScriptFunctionmessageKey in interface ScriptFunctionpublic java.lang.String prefix()
PrefixedEnumprefix in interface PrefixedEnumpublic boolean required()
ScriptFunctionrequired in interface ScriptFunction