TT:operatingPeriodRef trainPart: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
mNo edit summary
No edit summary
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}}.  


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:Doc|trainPart}}
Line 12: Line 12:


|inheritedAttributes = see {{DocCO|tElementWithReference}}
|inheritedAttributes = see {{DocCO|tElementWithReference}}
*{{attr|refID}}: references an {{TT:Doc|operatingPeriod}}.
*{{attr|ref}}: references an {{TT:Doc|operatingPeriod}}.


|ownAttributes =
|ownAttributes =
*{{attr|aTimePeriod}}: describes optional further restrictions of the operating period.
*{{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|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}}
|example =
Normal reference to the {{TT:Doc|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"/>
|backHome = TT:elements
}}
}}

Revision as of 14:48, 12 November 2009


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

see Template:DocCO

  • ref: references an operatingPeriod.
  • startDate: 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: 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

Not yet described. / Noch nicht beschrieben.

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.