Class Environment

Applied Stereotypes:
XSDcomplexType
Implements Interfaces:
CatalogElement

Defines the environment conditions of a scenario, e.g. time of day, weather and road condition.

Used in:
EnvironmentAction , Catalog
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 Definition of additional parameters.
timeOfDay TimeOfDay 1..1 Time of the day during the simulation.
weather Weather 1..1 Weather conditions during the simulation.
roadCondition RoadCondition 1..1 Road conditions during the simulation.

Migration Information from XSD 0.9.1
Derived From:
OSCEnvironment
Property Name XSD Type XSD 0.9.1 Name Migration
name Attribute name
parameterDeclarations Element ParameterDeclaration Renamed
timeOfDay Element TimeOfDay
weather Element Weather
roadCondition Element RoadCondition

XSD 1.0 Representation


<xsd:complexType name="Environment">
<xsd:all>
<xsd:element name="ParameterDeclarations" type="ParameterDeclarations" minOccurs="0"/>
<xsd:element name="TimeOfDay" type="TimeOfDay"/>
<xsd:element name="Weather" type="Weather"/>
<xsd:element name="RoadCondition" type="RoadCondition"/>
</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.

To XSD To XSLT To XSD Tree