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 in kg. 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.
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 1..1 XSDelement Additional properties as name value pairs.

XSD 1.1 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"/>
</xsd:all>
<xsd:attribute name="name" type="String" use="required"/>
<xsd:attribute name="vehicleCategory" type="VehicleCategory" use="required"/>
<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.0
  • Property 'mass' created.
  • Property 'model3d' created.

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "all"; mixed: "false"]
  • Property mass
    • XSDattribute
  • Property model3d
    • XSDattribute
  • Property name
    • 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"]

To XSD To XSD Tree