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 QNameCOMPLEX_TYPEstatic ItemNameF_SCRIPTING_EXPRESSIONstatic ItemNameF_VARIABLEprotected List<javax.xml.bind.JAXBElement<? extends ScriptingExpressionType>>scriptingExpressionprotected QNamevariable
-
Constructor Summary
Constructors Constructor Description ForeachExpressionType()Creates a newForeachExpressionTypeinstance.ForeachExpressionType(ForeachExpressionType o)Creates a newForeachExpressionTypeinstance by deeply copying a givenForeachExpressionTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ForeachExpressionTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(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.QNamegetVariable()Gets the value of the variable property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)ForeachExpressionTypescriptingExpression(javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> value)voidsetVariable(QName value)Sets the value of the variable property.StringtoString()Generates a String representation of the contents of this type.ForeachExpressionTypevariable(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 newForeachExpressionTypeinstance.
-
ForeachExpressionType
public ForeachExpressionType(ForeachExpressionType o)
Creates a newForeachExpressionTypeinstance by deeply copying a givenForeachExpressionTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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:
toStringin classScriptingExpressionType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode- Overrides:
hashCodein classScriptingExpressionType
-
hashCode
public int hashCode()
- Overrides:
hashCodein 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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals- Overrides:
equalsin classScriptingExpressionType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin 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:
acceptin interfaceJaxbVisitable- Overrides:
acceptin classScriptingExpressionType
-
clone
public ForeachExpressionType clone()
Creates and returns a deep copy of this object.- Overrides:
clonein classScriptingExpressionType- Returns:
- A deep copy of this object.
-
-