Class ScriptExpressionEvaluatorType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TransformExpressionEvaluatorType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorConfigurationType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorType
-
- All Implemented Interfaces:
PlainStructured
,JaxbVisitable
,Serializable
,Cloneable
public class ScriptExpressionEvaluatorType extends ScriptExpressionEvaluatorConfigurationType
Generic script expression. The purpose of the expression is to return a value. The expression must produce something that is a piece of XML, which means that it may produce either string value, XML node or a list of XML nodes. The expression may use variables or arguments. However, such variables or arguments passed to the expression will be different for each invocation. It should be documented in each case this type is used.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.binding.PlainStructured
PlainStructured.WithoutStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected String
code
static QName
COMPLEX_TYPE
static ItemName
F_CODE
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorConfigurationType
F_LANGUAGE, F_OBJECT_VARIABLE_MODE, F_RETURN_TYPE, F_VALUE_VARIABLE_MODE, language, objectVariableMode, returnType, valueVariableMode
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.TransformExpressionEvaluatorType
condition, description, documentation, F_CONDITION, F_DESCRIPTION, F_DOCUMENTATION, F_INCLUDE_NULL_INPUTS, F_RELATIVITY_MODE, F_TRACE, includeNullInputs, relativityMode, trace
-
-
Constructor Summary
Constructors Constructor Description ScriptExpressionEvaluatorType()
ScriptExpressionEvaluatorType(ScriptExpressionEvaluatorType other)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorConfigurationType
getLanguage, getObjectVariableMode, getReturnType, getValueVariableMode, setLanguage, setObjectVariableMode, setReturnType, setValueVariableMode
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.TransformExpressionEvaluatorType
getCondition, getDescription, getDocumentation, getRelativityMode, isIncludeNullInputs, isTrace, setCondition, setDescription, setDocumentation, setIncludeNullInputs, setRelativityMode, setTrace
-
-
-
-
Constructor Detail
-
ScriptExpressionEvaluatorType
public ScriptExpressionEvaluatorType()
-
ScriptExpressionEvaluatorType
public ScriptExpressionEvaluatorType(ScriptExpressionEvaluatorType other)
-
-
Method Detail
-
getCode
public String getCode()
-
setCode
public void setCode(String value)
-
hashCode
public int hashCode(StructuredHashCodeStrategy strategy)
- Specified by:
hashCode
in interfacePlainStructured
- Overrides:
hashCode
in classScriptExpressionEvaluatorConfigurationType
-
equals
public boolean equals(Object other, StructuredEqualsStrategy strategy)
- Specified by:
equals
in interfacePlainStructured
- Overrides:
equals
in classScriptExpressionEvaluatorConfigurationType
-
code
public ScriptExpressionEvaluatorType code(String value)
-
language
public ScriptExpressionEvaluatorType language(String value)
- Overrides:
language
in classScriptExpressionEvaluatorConfigurationType
-
returnType
public ScriptExpressionEvaluatorType returnType(ScriptExpressionReturnTypeType value)
- Overrides:
returnType
in classScriptExpressionEvaluatorConfigurationType
-
objectVariableMode
public ScriptExpressionEvaluatorType objectVariableMode(ObjectVariableModeType value)
- Overrides:
objectVariableMode
in classScriptExpressionEvaluatorConfigurationType
-
valueVariableMode
public ScriptExpressionEvaluatorType valueVariableMode(ValueVariableModeType value)
- Overrides:
valueVariableMode
in classScriptExpressionEvaluatorConfigurationType
-
description
public ScriptExpressionEvaluatorType description(String value)
- Overrides:
description
in classScriptExpressionEvaluatorConfigurationType
-
documentation
public ScriptExpressionEvaluatorType documentation(String value)
- Overrides:
documentation
in classScriptExpressionEvaluatorConfigurationType
-
trace
public ScriptExpressionEvaluatorType trace(Boolean value)
- Overrides:
trace
in classScriptExpressionEvaluatorConfigurationType
-
relativityMode
public ScriptExpressionEvaluatorType relativityMode(TransformExpressionRelativityModeType value)
- Overrides:
relativityMode
in classScriptExpressionEvaluatorConfigurationType
-
includeNullInputs
public ScriptExpressionEvaluatorType includeNullInputs(Boolean value)
- Overrides:
includeNullInputs
in classScriptExpressionEvaluatorConfigurationType
-
condition
public ScriptExpressionEvaluatorType condition(ExpressionType value)
- Overrides:
condition
in classScriptExpressionEvaluatorConfigurationType
-
beginCondition
public ExpressionType beginCondition()
- Overrides:
beginCondition
in classScriptExpressionEvaluatorConfigurationType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classScriptExpressionEvaluatorConfigurationType
-
clone
public ScriptExpressionEvaluatorType clone()
- Specified by:
clone
in interfacePlainStructured
- Overrides:
clone
in classScriptExpressionEvaluatorConfigurationType
-
-