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:
RouteRef , Catalog , AssignRouteAction
Properties
Name Type Cardinality AppliedStereotypes Description
name string 1..1 XSDattribute Name of the route. Required in catalogs.
closed boolean 1..1 XSDattribute In a closed route, the last waypoint is followed by the first waypoint to create a closed route.
parameterDeclarations ParameterDeclaration 0..* XSDwrapped Definition of additional parameters.
waypoints Waypoint 2..* XSDunwrapped At least two waypoints are needed to define a route.

Migration Information from XSD 0.9.1
Derived From:
OSCRoute
Property Name XSD Type XSD 0.9.1 Name Migration
name Attribute name
closed Attribute closed
parameterDeclarations Element ParameterDeclaration Renamed
waypoints Element Waypoint Renamed

XSD 1.0 Representation


<xsd:complexType name="Route">
<xsd:sequence>
<xsd:element name="ParameterDeclarations" type="ParameterDeclarations" minOccurs="0"/>
<xsd:element name="Waypoint" minOccurs="2" maxOccurs="unbounded" type="Waypoint"/>
</xsd:sequence>
<xsd:attribute name="name" type="String" use="required"/>
<xsd:attribute name="closed" type="Boolean" 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.
waypoints XSDunwrapped This property represents an unwrapped list in XSD. The element name 'Waypoint' is used for the list elements.

To XSD To XSLT To XSD Tree