Class Environment

Applied Stereotypes:
XSDcomplexType
Implements Interfaces:
CatalogElement

Defines the environment conditions of a scenario, e.g. time of day, weather and road condition. If one of the conditions is missing it means that it doesn't change.

Used in:
Catalog , EnvironmentAction
Properties
Name Type Cardinality AppliedStereotypes Description
name string 1..1 XSDattribute Name of the environment. If used in catalog name is required.
parameterDeclarations ParameterDeclaration 0..* XSDwrapped, XSDelement Definition of additional parameters.
timeOfDay TimeOfDay 0..1 XSDelement Time of the day during the simulation.
weather Weather 0..1 XSDelement Weather conditions during the simulation.
roadCondition RoadCondition 0..1 XSDelement Road conditions during the simulation.

XSD 1.1 Representation


<xsd:complexType name="Environment">
<xsd:all>
<xsd:element name="ParameterDeclarations" type="ParameterDeclarations" minOccurs="0"/>
<xsd:element name="TimeOfDay" type="TimeOfDay" minOccurs="0"/>
<xsd:element name="Weather" type="Weather" minOccurs="0"/>
<xsd:element name="RoadCondition" type="RoadCondition" minOccurs="0"/>
</xsd:all>
<xsd:attribute name="name" type="String" use="required"/>
</xsd:complexType>

XSD Transformation
UML Element Stereotype Description
parameterDeclarations XSDwrapper This property represents a wrapped list. In XSD, the complex type ParameterDeclarations is used as a wrapper.

Change log from version 1.0
  • Annotation changed
    • New Value
      Defines the environment conditions of a scenario, e.g. time of day, weather and road condition. If one of the conditions is missing it means that it doesn't change.
      From 1.0.0
      Defines the environment conditions of a scenario, e.g. time of day, weather and road condition.
  • Property 'timeOfDay'. Lower cardinality changed.
    • New Value
      0
      From 1.0.0
      1
  • Property 'weather'. Lower cardinality changed.
    • New Value
      0
      From 1.0.0
      1
  • Property 'roadCondition'. Lower cardinality changed.
    • New Value
      0
      From 1.0.0
      1

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "all"; mixed: "false"]
  • Property name
    • XSDattribute
  • Property parameterDeclarations
    • XSDwrapped [wrapperMin: "0"; wrapperMax: "1"]
    • XSDelement [position: "1"]
  • Property timeOfDay
    • XSDelement [position: "2"]
  • Property weather
    • XSDelement [position: "3"]
  • Property roadCondition
    • XSDelement [position: "4"]

To XSD To XSD Tree