RS:vehicleRef: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
mNo edit summary
(Updated using new templates (Vorlage:InheritRef, Vorlage:RailMLType))
Line 1: Line 1:
{{elementDocu|
{{ElementDocu|
elementName = vehicleRef
elementName = vehicleRef


Line 5: Line 5:
The element {{RS:Tag|vehicleRef}} contains the data about the positions and the number of particular vehicles within that formation. One occurance of the element stands for at least one vehicle. The number of vehicles composed to a formation is infinite.
The element {{RS:Tag|vehicleRef}} contains the data about the positions and the number of particular vehicles within that formation. One occurance of the element stands for at least one vehicle. The number of vehicles composed to a formation is infinite.


{{deu|Das Element {{RS:Tag|vehicleRef}} beinhaltet die Angaben, welche Einzelfahrzeuge sich an welcher Position und wieviele davon in dem Zugteil befinden. Das Auftreten eines solchen Elements repräsentiert zumindest ein Einzelfahrzeug oder mehrere gleichartige Fahrzeuge in der Formation. Die mögliche Anzahl ist unbegrenzt.}}
{{Deu|Das Element {{RS:Tag|vehicleRef}} beinhaltet die Angaben, welche Einzelfahrzeuge sich an welcher Position und wieviele davon in dem Zugteil befinden. Das Auftreten eines solchen Elements repräsentiert zumindest ein Einzelfahrzeug oder mehrere gleichartige Fahrzeuge in der Formation. Die mögliche Anzahl ist unbegrenzt.}}


|parent =
|parent =
{{RS:Doc|trainOrder}}
{{RS:Tag|trainOrder}}


|ownAttributes =
|ownAttributes =
* {{attr|orderNumber}}: This gives the position of that vehicle or vehicle group within the formation. It is just a order number and the user has to ensure, that there are no duplicates or gaps for this formation due to incorrect values.
* {{Attr|orderNumber}}: This gives the position of that vehicle or vehicle group within the formation. It is just a order number and the user has to ensure, that there are no duplicates or gaps for this formation due to incorrect values.


* {{attr|vehicleRef}}: This is the reference to the data set of the vehicle for this position within the formation. The attribute refers to {{attr|id}} in element {{RS:Tag|vehicle}} and has to follow the constraints of [http://www.w3.org/TR/xmlschema-2/#IDREF xs:IDREF].
{{InheritRef
|attributeName = vehicleRef
|contextLink = {{RS:Tag|vehicle}}
|notes_en = This is the reference to the data set of the vehicle for this position within the formation.
}}


* {{attr|vehicleCount}}: This is the number of similar vehicles for this position within the formation. If for example the train part is made up of three passenger cars of the same type then this value shall be '3'. In all other cases the default value is set to '1'.
* {{Attr|vehicleCount}}: This is the number of similar vehicles for this position within the formation. If for example the train part is made up of three passenger cars of the same type then this value shall be '3'. In all other cases the default value is set to '1'.


|constraints =
|constraints =
The element {{RS:Tag|vehicleRef}} is optional and can occur several times. If it is used it has to comprise at least the attributes {{attr|orderNumber}} and {{attr|vehicleRef}}.
* {{Attr|orderNumber}} mandatory
 
* {{Attr|vehicleRef}} {{RailMLType|tGenericRef}}, mandatory
 
The element {{RS:Tag|vehicleRef}} is optional and can occur several times.


|backHome = RS:elements
|backHome = RS:elements
}}
}}

Revision as of 11:52, 7 December 2011


vehicleRef
 


Scheme description / Schemenbeschreibung

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

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

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The element <vehicleRef> contains the data about the positions and the number of particular vehicles within that formation. One occurance of the element stands for at least one vehicle. The number of vehicles composed to a formation is infinite.

Das Element <vehicleRef> beinhaltet die Angaben, welche Einzelfahrzeuge sich an welcher Position und wieviele davon in dem Zugteil befinden. Das Auftreten eines solchen Elements repräsentiert zumindest ein Einzelfahrzeug oder mehrere gleichartige Fahrzeuge in der Formation. Die mögliche Anzahl ist unbegrenzt.

Attributes of vehicleRef / Attribute von vehicleRef

  • orderNumber: This gives the position of that vehicle or vehicle group within the formation. It is just a order number and the user has to ensure, that there are no duplicates or gaps for this formation due to incorrect values.
  • vehicleRef: This refers to the id attribute of the associated <vehicle> element.
    This is the reference to the data set of the vehicle for this position within the formation.
  • vehicleCount: This is the number of similar vehicles for this position within the formation. If for example the train part is made up of three passenger cars of the same type then this value shall be '3'. In all other cases the default value is set to '1'.

Syntactic Constraints / Syntaktische Beschränkungen

  • orderNumber mandatory

The element <vehicleRef> is optional and can occur several times.

Best practice & Examples / Empfohlene Anwendung & Beispiele

Not yet described. / Noch nicht beschrieben.

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.