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,...).
  axles Axles 1..1 XSDelement A set of axles (front, rear, additional) and their geometric locations.
  boundingBox BoundingBox 1..1 XSDelement The three dimensional bounding box that encloses the vehicle.
  parameterDeclarations ParameterDeclaration 0..* XSDwrapped, XSDelement Definition of additional parameters.
  performance Performance 1..1 XSDelement Performance properties of the vehicle.
  properties Properties 0..1 XSDelement Properties of the 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.
  trailerCoupler TrailerCoupler 0..1 XSDelement Trailer vehicle mounting point for connecting to a tow vehicle.
  trailerHitch TrailerHitch 0..1 XSDelement Tow vehicle mounting point for optional trailer.
XSD 1.4 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.3
  • Property 'axles'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'boundingBox'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • 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 'performance'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'properties'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
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 axles
    • XSDelement
  • Property boundingBox
    • XSDelement
  • Property parameterDeclarations
    • XSDwrapped
    • XSDelement
  • Property performance
    • XSDelement
  • Property properties
    • XSDelement
  • Property trailer
    • XSDelement
  • Property trailerCoupler
    • XSDelement
  • Property trailerHitch
    • XSDelement

To XSD