Class ForeachExpressionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.model.scripting_3.ScriptingExpressionType
-
- com.evolveum.midpoint.xml.ns._public.model.scripting_3.ForeachExpressionType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class ForeachExpressionType extends ScriptingExpressionType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Executes a given command individually for each item arriving at the input.Java class for ForeachExpressionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ForeachExpressionType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/model/scripting-3}ScriptingExpressionType"> <sequence> <element name="variable" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/model/scripting-3}scriptingExpression" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_SCRIPTING_EXPRESSION
static ItemName
F_VARIABLE
protected List<javax.xml.bind.JAXBElement<? extends ScriptingExpressionType>>
scriptingExpression
protected QName
variable
-
Constructor Summary
Constructors Constructor Description ForeachExpressionType()
Creates a newForeachExpressionType
instance.ForeachExpressionType(ForeachExpressionType o)
Creates a newForeachExpressionType
instance by deeply copying a givenForeachExpressionType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ForeachExpressionType
clone()
Creates and returns a deep copy of this object.boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
List<javax.xml.bind.JAXBElement<? extends ScriptingExpressionType>>
getScriptingExpression()
Gets the value of the scriptingExpression property.QName
getVariable()
Gets the value of the variable property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
ForeachExpressionType
scriptingExpression(javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> value)
void
setVariable(QName value)
Sets the value of the variable property.String
toString()
Generates a String representation of the contents of this type.ForeachExpressionType
variable(QName value)
-
-
-
Field Detail
-
variable
protected QName variable
-
scriptingExpression
protected List<javax.xml.bind.JAXBElement<? extends ScriptingExpressionType>> scriptingExpression
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_VARIABLE
public static final ItemName F_VARIABLE
-
F_SCRIPTING_EXPRESSION
public static final ItemName F_SCRIPTING_EXPRESSION
-
-
Constructor Detail
-
ForeachExpressionType
public ForeachExpressionType()
Creates a newForeachExpressionType
instance.
-
ForeachExpressionType
public ForeachExpressionType(ForeachExpressionType o)
Creates a newForeachExpressionType
instance by deeply copying a givenForeachExpressionType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getVariable
public QName getVariable()
Gets the value of the variable property.- Returns:
- possible object is
QName
-
setVariable
public void setVariable(QName value)
Sets the value of the variable property.- Parameters:
value
- allowed object isQName
-
getScriptingExpression
public List<javax.xml.bind.JAXBElement<? extends ScriptingExpressionType>> getScriptingExpression()
Gets the value of the scriptingExpression property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the scriptingExpression property.For example, to add a new item, do as follows:
getScriptingExpression().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
ActionExpressionType
>
JAXBElement
<
AddActionExpressionType
>
JAXBElement
<
ApplyDefinitionActionExpressionType
>
JAXBElement
<
AssignActionExpressionType
>
JAXBElement
<
DeleteActionExpressionType
>
JAXBElement
<
DisableActionExpressionType
>
JAXBElement
<
EnableActionExpressionType
>
JAXBElement
<
ExecuteScriptActionExpressionType
>
JAXBElement
<
ExpressionPipelineType
>
JAXBElement
<
ExpressionSequenceType
>
JAXBElement
<
FilterContentExpressionType
>
JAXBElement
<
FilterExpressionType
>
JAXBElement
<
ForeachExpressionType
>
JAXBElement
<
GenerateValueActionExpressionType
>
JAXBElement
<
LogActionExpressionType
>
JAXBElement
<
ModifyActionExpressionType
>
JAXBElement
<
NotifyActionExpressionType
>
JAXBElement
<
PurgeSchemaActionExpressionType
>
JAXBElement
<
RecomputeActionExpressionType
>
JAXBElement
<
ResolveReferenceActionExpressionType
>
JAXBElement
<
ResumeTaskActionExpressionType
>
JAXBElement
<
ScriptingExpressionType
>
JAXBElement
<
SearchExpressionType
>
JAXBElement
<
SelectExpressionType
>
JAXBElement
<
TestResourceActionExpressionType
>
JAXBElement
<
UnassignActionExpressionType
>
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin- Overrides:
toString
in classScriptingExpressionType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
- Overrides:
hashCode
in classScriptingExpressionType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classScriptingExpressionType
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
- Overrides:
equals
in classScriptingExpressionType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classScriptingExpressionType
-
variable
public ForeachExpressionType variable(QName value)
-
scriptingExpression
public ForeachExpressionType scriptingExpression(javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classScriptingExpressionType
-
clone
public ForeachExpressionType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classScriptingExpressionType
- Returns:
- A deep copy of this object.
-
-