RS:manufacturer: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(multiplicity)
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
* {{Attr|manufacturerName}} {{Depr|2.2}}: This is the name of the manufacturer of the entire vehicle as it was called at the time of production.
* {{Attr|manufacturerName}} {{Depr|2.2}}: This is the name of the manufacturer of the entire vehicle as it was called at the time of production.


* {{Attr|vehicleManufacturerRef}} {{Intro|2.2}}: Reference to common list of vehicle manufacturers. It shall be used in preference to {{Attr|manufacturerName}}.
* {{Attr|vehicleManufacturerRef}} {{Intro|2.2}}: Reference to common list of {{CO:Tag|vehicleManufacturer}}s. It shall be used in preference to {{Attr|manufacturerName}}.


* {{Attr|manufacturerType}}: This is the type description the vehicle manufacturer has used for the vehicle at the time of production.
* {{Attr|manufacturerType}}: This is the type description the vehicle manufacturer has used for the vehicle at the time of production.
Line 31: Line 31:
|example =
|example =
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<vehicle id='veh_ME26' axleSequence='Co&apos;Co&apos; de' numberDrivenAxles='6' length='20.960' speed='160' bruttoWeight='122' nettoAdhesionWeight='122'>
<metadata>
  <organizationalUnits>
    <vehicleOperator id='vop_1' name='NSB'/>
    <vehicleOperator id='vop_2' name='DB'/>
    <vehicleManufacturer id='vm_3' name='Siemens Verkehrstechnik'/>
  </organizationalUnits>
</metadata>
 
<!-- ... -->
 
<vehicle id='veh_123' axleSequence='Co&apos;Co&apos; de' numberDrivenAxles='6' length='20.960' speed='160' bruttoWeight='122' nettoAdhesionWeight='122'>
   <classification>
   <classification>
     <manufacturer manufacturerName='Siemens Verkehrstechnik' manufacturer-Type='ME26'/>
     <manufacturer vehicleManufacturerRef='vm_3' manufacturer-Type='ME26'/>
     <operator operatorName='NSB' operatorClass='Di6'/>
     <operator vehicleOperatorRef='vop_1' operatorClass='Di6'/>
     <operator operatorName='DB' operatorClass='251'/>
     <operator vehicleOperatorRef='vop_2' operatorClass='251'/>
   </classification>
   </classification>
</vehicle>
</vehicle>

Latest revision as of 05:54, 26 November 2020


manufacturer
 


Scheme description / Schemenbeschreibung

Position of manufacturer in the XML-Tree / Position von manufacturer im XML-Baum

  • Parent: <classification>
  • Children: Not yet described. / Noch nicht beschrieben.

Multiplicity / Anzahl

[0..1]

Semantics / Bedeutung

The element <manufacturer> contains all data related to the manufacturer of the vehicle, which may be necessary for identification and management.

Im Element <manufacturer> sind alle Hersteller bezogene Daten zusammengefasst, die zur Identifizierung und Verwaltung benötigt werden.

Attributes of manufacturer / Attribute von manufacturer

  • manufacturerName (deprecated with version 2.2): This is the name of the manufacturer of the entire vehicle as it was called at the time of production.
  • vehicleManufacturerRef (introduced with version 2.2): Reference to common list of <vehicleManufacturer>s. It shall be used in preference to manufacturerName.
  • manufacturerType: This is the type description the vehicle manufacturer has used for the vehicle at the time of production.
  • serialNumber: This is the serial number the manufacturer has given the vehicle at the time of production.

Syntactic Constraints / Syntaktische Beschränkungen

  • vehicleManufacturerRef xs:IDREF, optional

Best practice & Examples / Empfohlene Anwendung & Beispiele

<metadata>
  <organizationalUnits>
    <vehicleOperator id='vop_1' name='NSB'/>
    <vehicleOperator id='vop_2' name='DB'/>
    <vehicleManufacturer id='vm_3' name='Siemens Verkehrstechnik'/>
  </organizationalUnits>
</metadata>

<!-- ... -->

<vehicle id='veh_123' axleSequence='Co&apos;Co&apos; de' numberDrivenAxles='6' length='20.960' speed='160' bruttoWeight='122' nettoAdhesionWeight='122'>
  <classification>
    <manufacturer vehicleManufacturerRef='vm_3' manufacturer-Type='ME26'/>
    <operator vehicleOperatorRef='vop_1' operatorClass='Di6'/>
    <operator vehicleOperatorRef='vop_2' operatorClass='251'/>
  </classification>
</vehicle>

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.