Class Route

Applied Stereotypes:
Implements Interfaces:

A route is defined in a scenario or in a catalog. It represents a continuous path throughout the road network, defined by a series of waypoints.

Used in:
AssignRouteAction , Catalog , RouteRef
  Name Type Cardinality AppliedStereotypes Description
  closed boolean 1..1 XSDattribute In a closed route, the last waypoint is followed by the first waypoint to create a closed route.
  name string 1..1 XSDattribute Name of the route. Required in catalogs.
  parameterDeclarations ParameterDeclaration 0..* XSDwrapped, XSDelement Definition of additional parameters.
  waypoints Waypoint 2..* XSDunwrapped, XSDelement At least two waypoints are needed to define a route.
XSD 1.3 Representation

<xsd:complexType name="Route">
<xsd:element name="ParameterDeclarations" type="ParameterDeclarations" minOccurs="0"/>
<xsd:element name="Waypoint" type="Waypoint" minOccurs="2" maxOccurs="unbounded"/>
<xsd:attribute name="closed" type="Boolean" use="required"/>
<xsd:attribute name="name" type="String" use="required"/>

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.
waypoints XSDunwrapped This property represents an unwrapped list in XSD. The element name 'Waypoint' is used for the list elements.
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
  • Property closed
    • XSDattribute
  • Property name
    • XSDattribute
  • Property parameterDeclarations
    • XSDwrapped [wrapperMin: "0"; wrapperMax: "1"]
    • XSDelement [position: "1"]
  • Property waypoints
    • XSDunwrapped [xsdElementName: "Waypoint"]
    • XSDelement [position: "2"]