Class UserDefinedValueCondition

Applied Stereotypes:

This condition acts as a wrapper for external custom conditions which are implemented in the simulation user software. It can compare e.g. complex types, which are not covered by the primitive types of OpenSCENARIO (boolean, int, double...). This condition is considered true if the given external value verifies the specified relation rule (<, <=, ==, >=, >) relatively to the provided reference value.
The external value can only be set from outside the scenario. Therefore this condition creates an interface from the scenario to the simulator or other components (e.g. test software, test case, system under test or simulation models).

Used in:
  Name Type Cardinality AppliedStereotypes Description
  name string 1..1 XSDattribute Name of the external value.
  rule Rule 1..1 XSDattribute The operator (less, greater, equal).
  value string 1..1 XSDattribute Reference value the external value is compared to.
XSD 1.3 Representation

<xsd:complexType name="UserDefinedValueCondition">
<xsd:attribute name="name" 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 name
    • XSDattribute
  • Property rule
    • XSDattribute
  • Property value
    • XSDattribute