TT:trainRef: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Parameter added)
(Corrected _not_ using the template (Vorlage:InheritRefSequence) because of mandatory 'sequence' attribute)
Line 1: Line 1:
{{InheritRefSequence
{{ElementDocu|
|elementName = trainRef
elementName = trainRef
 
|parent = {{TT:Tag|trainGroup}}
 
|semantics =  
The element {{TT:Tag|trainGroup}} allows for grouping of {{TT:Doc|train}}s which are referenced using {{TT:Tag|trainRef}}.
 
{{Deu|Das Element {{TT:Tag|trainRef}} wird genutzt um einen einzelnen zum Taktgefüge gehörenden {{TT:Doc|train}} zu referenzieren.}}
 
|inheritedAttributes =
{{InheritRef
|attributeName = ref
|contextLink = {{TT:Doc|train}}
|contextLink = {{TT:Doc|train}}
|back = TT:elements
|notes_en =  
|parentLink = {{TT:Tag|trainGroup}}
|notes_de =
|selfLink = {{TT:Tag|trainRef}}
|semantics_en = {{Deu|Das Element {{TT:Tag|trainRef}} wird genutzt um einen einzelnen zum Taktgefüge gehörenden {{TT:Doc|train}} zu referenzieren.}}
|semantics_de =
|constraints_en =
|constraints_de =
|ref =
|ref_de =
|sequence = This "counter" defines the chronological order during a day.
|sequence_de =
}}
}}
* {{Attr|sequence}}: This allows for sorting the referenced {{TT:Doc|train}}s. This "counter" defines the chronological order during a day.
|constraints =
* {{Attr|ref}} {{RailMLType|tGenericRef}}, mandatory
* {{Attr|sequence}} {{RailMLType|tPositiveCounter}}, mandatory <br/> The referenced {{TT:Doc|train}} with the lowest {{Attr|sequence}} value is interpreted as the first element of the current {{TT:Tag|trainGroup}}. <br/> Each {{Attr|sequence}} value shall only be used once within the current {{TT:Tag|trainGroup}}.
|backHome = TT:elements
}}<noinclude>[[Category:ElementTemplate]]</noinclude>

Revision as of 13:08, 9 December 2011


trainRef
 


Scheme description / Schemenbeschreibung

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

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

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The element <trainGroup> allows for grouping of trains which are referenced using <trainRef>.

Das Element <trainRef> wird genutzt um einen einzelnen zum Taktgefüge gehörenden train zu referenzieren.

Attributes of trainRef / Attribute von trainRef

  • ref: This refers to the id attribute of the associated train element.
  • sequence: This allows for sorting the referenced trains. This "counter" defines the chronological order during a day.

Syntactic Constraints / Syntaktische Beschränkungen

  • sequence xs:positiveInteger, mandatory
    The referenced train with the lowest sequence value is interpreted as the first element of the current <trainGroup>.
    Each sequence value shall only be used once within the current <trainGroup>.

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.