Class Vehicle

Applied Stereotypes:
XSDcomplexType
Implements Interfaces:
CatalogElement

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

Used in:
EntityObject , Catalog
Properties
Name Type Cardinality AppliedStereotypes Description
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 Definition of additional parameters.
boundingBox BoundingBox 1..1 The three dimensional bounding box that encloses the vehicle.
performance Performance 1..1 Performance properties of the vehicle.
axles Axles 1..1 A set of axles (front, rear, additional) and their geometric locations.
properties Properties 1..1 Additional properties as name value pairs.

Migration Information from XSD 0.9.1
Derived From:
OSCVehicle
Property Name XSD Type XSD 0.9.1 Name Migration
name Attribute name
vehicleCategory Attribute category
parameterDeclarations Element ParameterDeclaration Renamed
boundingBox Element BoundingBox
performance Element Performance
axles Element Axles
properties Element Properties

XSD 1.0 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: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.

To XSD To XSLT To XSD Tree