TT:circulation: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Created using the schema internal documentation)
 
(Updated using new templates (Vorlage:InheritRef, Vorlage:RailMLType))
Line 6: Line 6:
{{Deu|In dem Element {{TT:Tag|circulation}} werden die "Dienste" ({{TT:Doc|block}}s) zu einem Umlaufplan verkettet.}}
{{Deu|In dem Element {{TT:Tag|circulation}} werden die "Dienste" ({{TT:Doc|block}}s) zu einem Umlaufplan verkettet.}}


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


|childs =  
|ownAttributes =  
{{InheritRef
|attributeName = blockRef
|contextLink = {{TT:Tag|block}}
|notes_en =
}}
 
* {{Attr|startDate}}: If this is absent {{Attr|operatingPeriodRef}} must be defined.
 
* {{Attr|endDate}}: If this is absent {{Attr|operatingPeriodRef}} may be defined or it is "open end".
 
{{InheritRef
|attributeName = operatingPeriodRef
|contextLink = {{TT:Tag|operatingPeriod}}
|notes_en = This {{TT:Doc|operationPeriod}} constraints the dates the referenced {{TT:Doc|block}} is to be fulfilled. If this is absent the referenced {{TT:Doc|block}} runs daily from {{Attr|startDate}} to {{Attr|endDate}}.
}}
 
* {{Attr|repeatCount}}: This is for abstract circulations from {{Attr|startDate}} to {{Attr|endDate}}.


|inheritedAttributes =  
{{InheritRef
|attributeName = nextBlockRef
|contextLink = {{TT:Tag|block}}
|notes_en = This is the {{TT:Doc|block}} which should follow the currently referenced {{TT:Doc|block}}.
}}


|ownAttributes =  
{{InheritRef
* {{Attr|blockRef}}: This is the reference to {{Attr|id}} of the {{TT:Tag|block}}. It has to follow the constraints of {{XsdType|IDREF}}.
|attributeName = nextOperatingPeriodRef
|contextLink = {{TT:Tag|operatingPeriod}}
|notes_en = This {{TT:Doc|operatingPeriod}} constraints the dates the following {{TT:Tag|circulation}}.
}}


* {{Attr|startDate}}: If this is absent {{Attr|operatingPeriodRef}} must be defined. It has to follow the constraints of {{XsdType|date}}.
|constraints =
{{Attr|blockRef}} {{RailMLType|tGenericRef}}, mandatory


* {{Attr|endDate}}: If this is absent {{Attr|operatingPeriodRef}} may be defined or it is "open end". It has to follow the constraints of {{XsdType|date}}.
* {{Attr|startDate}} {{XsdType|date}}, optional


* {{Attr|operatingPeriodRef}}: This is the reference to {{Attr|id}} of the {{TT:Tag|operatingPeriod}} which constraints the dates the referenced {{TT:Doc|block}} is to be fulfilled. If this is absent the referenced {{TT:Doc|block}} runs daily from {{Attr|startDate}} to {{Attr|endDate}}. It has to follow the constraints of {{XsdType|IDREF}}.
* {{Attr|endDate}} {{XsdType|date}}, optional


* {{Attr|repeatCount}}: This is for abstract circulations from {{Attr|startDate}} to {{Attr|endDate}}. It has to follow the constraints of {{XsdType|nonNegativeInteger}}.
* {{Attr|operatingPeriodRef}} {{RailMLType|tGenericRef}}, optional


* {{Attr|nextBlockRef}}: This is the reference to {{Attr|id}} of the {{TT:Tag|block}} which should follow the currently referenced {{TT:Doc|block}}. It has to follow the constraints of {{XsdType|IDREF}}.
* {{Attr|repeatCount}} {{XsdType|nonNegativeInteger}}, optional


* {{Attr|nextOperatingPeriodRef}}: This is the reference to {{Attr|id}} of the {{TT:Tag|operatingPeriod}} which constraints the dates the following {{TT:Tag|circulation}}. It has to follow the constraints of {{XsdType|IDREF}}.
* {{Attr|nextBlockRef}} {{RailMLType|tGenericRef}}, optional


|constraints =
* {{Attr|nextOperatingPeriodRef}} {{RailMLType|tGenericRef}}, optional
{{Attr|blockRef}} is mandatory.


|backHome = TT:elements
|backHome = TT:elements
}}
}}

Revision as of 10:32, 7 December 2011


circulation
 


Scheme description / Schemenbeschreibung

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

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

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The element <circulation> is for chaining the blocks into a complete rostering.

In dem Element <circulation> werden die "Dienste" (blocks) zu einem Umlaufplan verkettet.

Attributes of circulation / Attribute von circulation

  • blockRef: This refers to the id attribute of the associated <block> element.
  • startDate: If this is absent operatingPeriodRef must be defined.
  • endDate: If this is absent operatingPeriodRef may be defined or it is "open end".
  • operatingPeriodRef: This refers to the id attribute of the associated <operatingPeriod> element.
    This operationPeriod constraints the dates the referenced block is to be fulfilled. If this is absent the referenced block runs daily from startDate to endDate.
  • repeatCount: This is for abstract circulations from startDate to endDate.
  • nextBlockRef: This refers to the id attribute of the associated <block> element.
    This is the block which should follow the currently referenced block.

Syntactic Constraints / Syntaktische Beschränkungen

blockRef xs:IDREF, mandatory

  • nextOperatingPeriodRef xs:IDREF, optional

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.