Class VariableCondition

Applied Stereotypes:

Compares a named variable's value to a reference value. The logical operator used for comparison is defined by the rule attribute. Less and greater operators will only be supported if the value given as string can unambiguously be converted into a scalar value (e.g. value=5, value=16.667).

Used in:
  Name Type Cardinality AppliedStereotypes Description
  rule Rule 1..1 XSDattribute The operator (<, <=, ==, >=, >).
  value string 1..1 XSDattribute Value to which the value of the variable shall be compared to.
  variableRef VariableDeclaration 1..1 nameRef, XSDattribute Name of the variable that must be defined.
XSD 1.3 Representation

<xsd:complexType name="VariableCondition">
<xsd:attribute name="variableRef" type="String" use="required"/>
<xsd:attribute name="rule" type="Rule" use="required"/>
<xsd:attribute name="value" type="String" use="required"/>

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
  • Property rule
    • XSDattribute
  • Property value
    • XSDattribute
  • Property variableRef
    • nameRef [xsdType: "string"]
    • XSDattribute