TT:operatingPeriodRef trainPart: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
m (Template changed)
(Updated using new templates (Vorlage:InheritRef, Vorlage:RailMLType))
Line 1: Line 1:
{{elementDocu|
{{ElementDocu|
elementName = operatingPeriodRef
elementName = operatingPeriodRef


Line 5: Line 5:
The Element {{TT:Tag|operatingPeriodRef}} is used for referencing the {{TT:Doc|operatingPeriod}} for the {{TT:Doc|trainPart}}.  
The Element {{TT:Tag|operatingPeriodRef}} is used for referencing the {{TT:Doc|operatingPeriod}} for the {{TT:Doc|trainPart}}.  


{{deu|Das Element {{TT:Tag|operatingPeriodRef}} referenziert die zum {{TT:Doc|trainPart}} gehörige Verkehrsperiode.}}
{{Deu|Das Element {{TT:Tag|operatingPeriodRef}} referenziert die zum {{TT:Doc|trainPart}} gehörige Verkehrsperiode.}}


|parent = {{TT:Doc|trainPart}}
|parent = {{TT:Tag|trainPart}}


|childs = {{TT:Doc|specialService}}
|childs = {{TT:Tag|specialService}}


|inheritedAttributes = see {{CO:Doc|tElementWithReference}}
|inheritedAttributes =
*{{attr|ref}}: references an {{TT:Doc|operatingPeriod}}.
{{InheritRef
|attributeName = ref
|contextLink = {{TT:Tag|operatingPeriod}}
|notes_en =
}}


|ownAttributes =
|ownAttributes =
*{{attr|startDate}}: describes optional further restrictions of the operating period. If not empty it has to be equal or later than the {{attr|startDate}} of the referenced {{TT:Doc|timetablePeriod}}
* {{Attr|startDate}}: This describes optional further restrictions of the operating period. If not empty it has to be equal or later than the {{Attr|startDate}} of the referenced {{TT:Doc|timetablePeriod}}.


*{{attr|endDate}}: describes optional further restrictions of the operating period. If not empty it has to be equal or earlier than the {{attr|endDate}} of the referenced {{TT:Doc|timetablePeriod}}
* {{Attr|endDate}}: This describes optional further restrictions of the operating period. If not empty it has to be equal or earlier than the {{Attr|endDate}} of the referenced {{TT:Doc|timetablePeriod}}.
 
|constraints =
* {{Attr|ref}} {{RailMLType|tGenericRef}}, mandatory


|example =  
|example =  

Revision as of 00:43, 7 December 2011


operatingPeriodRef
 


Scheme description / Schemenbeschreibung

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

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The Element <operatingPeriodRef> is used for referencing the operatingPeriod for the trainPart.

Das Element <operatingPeriodRef> referenziert die zum trainPart gehörige Verkehrsperiode.

Attributes of operatingPeriodRef / Attribute von operatingPeriodRef

  • ref: This refers to the id attribute of the associated <operatingPeriod> element.
  • startDate: This describes optional further restrictions of the operating period. If not empty it has to be equal or later than the startDate of the referenced timetablePeriod.
  • endDate: This describes optional further restrictions of the operating period. If not empty it has to be equal or earlier than the endDate of the referenced timetablePeriod.

Syntactic Constraints / Syntaktische Beschränkungen

Best practice & Examples / Empfohlene Anwendung & Beispiele

Normal reference to the operatingPeriod for 'daily':

  • <rail:operatingPeriodRef ref="TGL"/>

Same reference but restricted to certain period:

  • <rail:operatingPeriodRef ref="TGL" startDate="2009-10-05" endDate="2009-10-16"/>

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.