TT:annotationRef connection: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(multiplicity)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ElementDocu|
{{inheritAnnotationRef
elementName = annotationRef
 
|parent = {{TT:Tag|connection}}
|childs=''None''
|minocc=0
|maxocc=∞
|ownAttributes=''None''
|semantics =  
|semantics =  
{{intro|2.2}} The element {{TT:Tag|annotationRef|connection}} allows for referencing an {{TT:Tag|annotation}}.
{{intro|2.2}} The element {{TT:Tag|annotationRef|connection}} allows for referencing an {{TT:Tag|annotation}}.


{{Deu|{{intro|2.2}} Das Element {{TT:Tag|annotationRef|connection}} wird genutzt um eine {{TT:Tag|annotation}} zu referenzieren.}}
{{Deu|{{intro|2.2}} Das Element {{TT:Tag|annotationRef|connection}} wird genutzt um eine {{TT:Tag|annotation}} zu referenzieren.}}
|inheritedAttributes =
{{InheritRefAny
|contextLink = {{TT:Doc|annotation}}
|ref = {{{ref|}}}
|ref_de = {{{ref_de|}}}
|anyAttribute = {{{anyAttribute|}}}
|anyAttribute_de = {{{anyAttribute_de|}}}
}}
{{InheritRef
|attributeName = operatingPeriodRef
|contextLink = {{TT:Tag|operatingPeriod}}
|notes_en = This {{TT:Doc|operatingPeriod}} constraints the dates the referenced {{TT:Doc|annotation}} is valid. If this is absent the referenced {{TT:Doc|annotation}} holds for the {{TT:Doc|connection}} without further restrictions.
}}
|constraints =
* {{Attr|ref}} {{RailMLType|tGenericRef}}, mandatory
* {{Attr|operatingPeriodRef}} {{RailMLType|tGenericRef}}, optional
One {{{parentLink|{{TT:Tag|connection}}}}} can have an unlimited number of {{{selfLink|{{TT:Tag|annotationRef|connection}}}}} elements. {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }}
|backHome = TT:elements
}}
}}

Latest revision as of 15:01, 28 March 2022


annotationRef
 


Scheme description / Schemenbeschreibung

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

Multiplicity / Anzahl

[0..∞]

Semantics / Bedeutung

(introduced with version 2.2) The element <annotationRef> allows for referencing an <annotation>.

(introduced with version 2.2) Das Element <annotationRef> wird genutzt um eine <annotation> zu referenzieren.

Attributes of annotationRef / Attribute von annotationRef

  • ref: This refers to the id attribute of the associated annotation element.
  • xs:anyAttribute: This provides an extension point for non-railML® attributes in a foreign namespace. How to use it?
  • operatingPeriodRef: This refers to the id attribute of the associated <operatingPeriod> element.
    This operatingPeriod constraints the dates the referenced annotation is valid. If this is absent the referenced annotation holds for the connection without further restrictions.
  • target: (introduced with version 2.5), specifies the target output of the passenger information (e.g. info for output in train or at the platform).
    • station: indicates that passenger info is to be output via the stationary info system at the platform/station.
    • train: indicates that passenger info is to be output via the onboard info system in the train.
  • priority: (introduced with version 2.5), specifies the priority of the announcements. if multiple announcements apply, the order in which they are played is determined by the priority (highest priority first).
  • operatingPeriodRef xs:IDREF, optional

Syntactic Constraints / Syntaktische Beschränkungen

One <connection> can have an unlimited number of <annotationRef> elements.

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.