Class Route

Applied Stereotypes:
XSDcomplexType
Implements Interfaces:
CatalogElement

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
Properties
  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.4 Representation


<xsd:complexType name="Route">
<xsd:sequence>
<xsd:element name="ParameterDeclarations" type="ParameterDeclarations" minOccurs="0"/>
<xsd:element name="Waypoint" type="Waypoint" minOccurs="2" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="closed" type="Boolean" use="required"/>
<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 'parameterDeclarations'. Stereotype <<XSDwrapped>>. Tagged value 'wrapperMin' removed.
  • Property 'parameterDeclarations'. Stereotype <<XSDwrapped>>. Tagged value 'wrapperMax' removed.
  • Property 'parameterDeclarations'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'waypoints'. Stereotype <<XSDunwrapped>>. Tagged value 'xsdElementName' removed.
  • Property 'waypoints'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
  • Property closed
    • XSDattribute
  • Property name
    • XSDattribute
  • Property parameterDeclarations
    • XSDwrapped
    • XSDelement
  • Property waypoints
    • XSDunwrapped
    • XSDelement

To XSD