Class VariableAction

Applied Stereotypes:
XSDcomplexType, union

Set or modify a variable. (Be aware of the data type).

Used in:
GlobalAction
Properties
  Name Type Cardinality AppliedStereotypes Description
  variableRef VariableDeclaration 1..1 nameRef, XSDattribute Name of the variable.
  setAction VariableSetAction 1..1 xor, XSDelement New value for the variable.
  modifyAction VariableModifyAction 1..1 xor, XSDelement Modifying rule for the variable (Add value or multiply by value).
XSD 1.3 Representation


<xsd:complexType name="VariableAction">
<xsd:choice>
<xsd:element name="SetAction" type="VariableSetAction"/>
<xsd:element name="ModifyAction" type="VariableModifyAction"/>
</xsd:choice>
<xsd:attribute name="variableRef" type="String" use="required"/>
</xsd:complexType>

Change log from version 1.2
  • Property 'setAction'. Lower cardinality changed.
    • New Value
      1
      From 1.2.0
      0
  • Property 'modifyAction'. Lower cardinality changed.
    • New Value
      1
      From 1.2.0
      0
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "choice"; mixed: "false"]
    • union
  • Property variableRef
    • nameRef [xsdType: "string"]
    • XSDattribute
  • Property setAction
    • xor
    • XSDelement [position: "2"]
  • Property modifyAction
    • xor
    • XSDelement [position: "3"]

To XSD