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.
  weather Weather 0..1 XSDelement Weather conditions during the simulation.
  timeOfDay TimeOfDay 0..1 XSDelement Time of the day during the simulation.
  parameterDeclarations ParameterDeclaration 0..* XSDwrapped, XSDelement Definition of additional parameters.
  roadCondition RoadCondition 0..1 XSDelement Road conditions during the simulation.
XSD 1.4 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.3
  • Property 'weather'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'timeOfDay'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'parameterDeclarations'. Stereotype <<XSDwrapped>>. Tagged value 'wrapperMin' removed.
  • Property 'parameterDeclarations'. Stereotype <<XSDwrapped>>. Tagged value 'wrapperMax' removed.
  • Property 'parameterDeclarations'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'roadCondition'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "all"; mixed: "false"]
  • Property name
    • XSDattribute
  • Property weather
    • XSDelement
  • Property timeOfDay
    • XSDelement
  • Property parameterDeclarations
    • XSDwrapped
    • XSDelement
  • Property roadCondition
    • XSDelement

To XSD