Class Vehicle

Applied Stereotypes:
XSDcomplexType
Implements Interfaces:
CatalogElement

Definition of a vehicle type in a scenario or in a catalog.

Used in:
Catalog , EntityObject
Properties
  Name Type Cardinality AppliedStereotypes Description
  mass double 0..1 XSDattribute The mass of a vehicle. Unit: [kg]. Range: [0..inf[.
  model3d string 0..1 XSDattribute Definition of the model of the vehicle as a model type or a relative or absolute file path.
  name string 1..1 XSDattribute Name of the vehicle type.
  role Role 0..1 XSDattribute Role of the vehicle (ambulance, police,...). The default vehicle role if not specified is None.
  vehicleCategory VehicleCategory 1..1 XSDattribute Category of the vehicle (bicycle, train,...).
  parameterDeclarations ParameterDeclaration 0..* XSDwrapped, XSDelement Definition of additional parameters.
  boundingBox BoundingBox 1..1 XSDelement The three dimensional bounding box that encloses the vehicle.
  performance Performance 1..1 XSDelement Performance properties of the vehicle.
  axles Axles 1..1 XSDelement A set of axles (front, rear, additional) and their geometric locations.
  properties Properties 0..1 XSDelement Properties of the vehicle.
  trailerHitch TrailerHitch 0..1 XSDelement Tow vehicle mounting point for optional trailer.
  trailerCoupler TrailerCoupler 0..1 XSDelement Trailer vehicle mounting point for connecting to a tow vehicle.
  trailer Trailer 0..1 XSDelement Initially connected trailer vehicle. Can be defined inline or a reference to a trailer in a catalog or the scenario file.
XSD 1.3 Representation


<xsd:complexType name="Vehicle">
<xsd:all>
<xsd:element name="ParameterDeclarations" type="ParameterDeclarations" minOccurs="0"/>
<xsd:element name="BoundingBox" type="BoundingBox"/>
<xsd:element name="Performance" type="Performance"/>
<xsd:element name="Axles" type="Axles"/>
<xsd:element name="Properties" type="Properties" minOccurs="0"/>
<xsd:element name="TrailerHitch" type="TrailerHitch" minOccurs="0"/>
<xsd:element name="TrailerCoupler" type="TrailerCoupler" minOccurs="0"/>
<xsd:element name="Trailer" type="Trailer" minOccurs="0"/>
</xsd:all>
<xsd:attribute name="name" type="String" use="required"/>
<xsd:attribute name="vehicleCategory" type="VehicleCategory" use="required"/>
<xsd:attribute name="role" type="Role"/>
<xsd:attribute name="mass" type="Double"/>
<xsd:attribute name="model3d" type="String"/>
</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.2
  • Property 'trailerHitch' created.
  • Property 'trailerCoupler' created.
  • Property 'trailer' created.
  • Property 'properties'. Lower cardinality changed.
    • New Value
      0
      From 1.2.0
      1
  • Property 'properties'. Annotation changed.
    • New Value
      Properties of the vehicle.
      From 1.2.0
      Additional properties as name value pairs.
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "all"; mixed: "false"]
  • Property mass
    • XSDattribute
  • Property model3d
    • XSDattribute
  • Property name
    • XSDattribute
  • Property role
    • XSDattribute
  • Property vehicleCategory
    • XSDattribute
  • Property parameterDeclarations
    • XSDwrapped [wrapperMin: "0"; wrapperMax: "1"]
    • XSDelement [position: "1"]
  • Property boundingBox
    • XSDelement [position: "2"]
  • Property performance
    • XSDelement [position: "3"]
  • Property axles
    • XSDelement [position: "4"]
  • Property properties
    • XSDelement [position: "5"]
  • Property trailerHitch
    • XSDelement [position: "6"]
  • Property trailerCoupler
    • XSDelement [position: "7"]
  • Property trailer
    • XSDelement [position: "8"]

To XSD