TT:blockPart: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Updated, deploying new templates (Vorlage:InheritIdNameConstraints))
(Updated using new templates (Vorlage:InheritRef, Vorlage:RailMLType))
Line 2: Line 2:
elementName = blockPart
elementName = blockPart


|semantics = The element {{TT:Tag|blockPart}} contains all data, which are related to an atomic particle of a {{TT:Doc|block}}. The item is referenced via its {{Attr|id}} attribute.
|semantics = The element {{TT:Tag|blockPart}} contains all data, which are related to an atomic particle of a {{TT:Doc|block}}.


{{Deu|In dem Element {{TT:Tag|blockPart}} werden alle Informationen für einen atomaren Bestandteil eines Umlaufs ({{TT:Doc|block}}s) beschrieben. Die einzelnen Datensätze können über das {{Attr|id}} Attribut referenziert werden.}}
{{Deu|In dem Element {{TT:Tag|blockPart}} werden alle Informationen für einen atomaren Bestandteil eines Umlaufs ({{TT:Doc|block}}s) beschrieben.}}


|parent =  
|parent =  
Line 29: Line 29:
* {{Attr|endDay}}:
* {{Attr|endDay}}:


* {{Attr|startOcpRef}}: This is the reference to {{Attr|id}} of the {{IS:Tag|ocp}} where the vehicle should start the current task.
{{InheritRef
|attributeName = startOcpRef
|contextLink = {{IS:Tag|ocp}}
|notes_en = This is the {{IS:Doc|ocp}} where the vehicle should start the current task.
}}


* {{Attr|endOcpRef}}: This is the reference to {{Attr|id}} of the {{IS:Tag|ocp}} where the vehicle should terminate the current task.
{{InheritRef
|attributeName = endOcpRef
|contextLink = {{IS:Tag|ocp}}
|notes_en = This is the {{IS:Doc|ocp}} where the vehicle should terminate the current task.
}}


* {{Attr|trainPartRef}}: This is the reference to {{Attr|id}} of the {{TT:Tag|trainPart}} which defines the current task.
{{InheritRef
|attributeName = trainPartRef
|contextLink = {{TT:Tag|trainPart}}
|notes_en =
}}


* {{Attr|operatingPeriodRef}}: This is the reference to {{Attr|id}} of the {{TT:Tag|operatingPeriod}} which constraints the dates this task is to be fulfilled.
{{InheritRef
|attributeName = operatingPeriodRef
|contextLink = {{TT:Tag|operatingPeriod}}
|notes_en = This {{TT:Doc|operatingPeriod}} constraints the dates the current task is to be fulfilled.
}}


* {{Attr|mission}}: Possible values are:
* {{Attr|mission}}: Possible values are:
Line 59: Line 75:
* {{Attr|runLength}}:  
* {{Attr|runLength}}:  


* {{Attr|vehicleRef}}: This is the reference to {{Attr|id}} of the vehicle that should fulfill the current task. It may supersede the referenced vehicle in {{TT:Tag|rostering}}.
{{InheritRef
|attributeName = vehicleRef
|contextLink = {{RS:Tag|vehicle}}
|notes_en = This {{RS:Doc|vehicle}} should fulfill the current task. It may supersede the referenced vehicle in {{TT:Tag|rostering}}.
}}


* {{Attr|formationRef}}: This is the reference to {{Attr|id}} of the formation  that should fulfill the current task. It may supersede the referenced formation in {{TT:Tag|rostering}}.
{{InheritRef
|attributeName = formationRef
|contextLink = {{RS:Tag|formation}}
|notes_en = This {{RS:Doc|formation}} should fulfill the current task. It may supersede the referenced formation in {{TT:Tag|rostering}}.
}}


|constraints =
|constraints =
{{InheritIdNameConstraints}}
{{InheritIdNameConstraints}}


* {{Attr|begin}} {{XsdType|time}}
* {{Attr|begin}} {{XsdType|time}}, optional


* {{Attr|beginDay}} {{XsdType|integer}}
* {{Attr|beginDay}} {{XsdType|integer}}, optional


* {{Attr|end}} {{XsdType|time}}
* {{Attr|end}} {{XsdType|time}}, optional


* {{Attr|endDay}} {{XsdType|integer}}
* {{Attr|endDay}} {{XsdType|integer}}, optional


* {{Attr|startOcpRef}} {{XsdType|IDREF}}
* {{Attr|startOcpRef}} {{RailMLType|tGenericRef}}, optional


* {{Attr|endOcpRef}} {{XsdType|IDREF}}
* {{Attr|endOcpRef}} {{RailMLType|tGenericRef}}, optional


* {{Attr|trainPartRef}} {{XsdType|IDREF}}
* {{Attr|trainPartRef}} {{RailMLType|tGenericRef}}, optional


* {{Attr|operatingPeriodRef}} {{XsdType|IDREF}}
* {{Attr|operatingPeriodRef}} {{RailMLType|tGenericRef}}, optional


* {{Attr|fixed}} {{XsdType|boolean}}
* {{Attr|fixed}} {{XsdType|boolean}}, optional


* {{Attr|vehicleRef}} {{XsdType|IDREF}}
* {{Attr|vehicleRef}} {{RailMLType|tGenericRef}}, optional


* {{Attr|formationRef}} {{XsdType|IDREF}}
* {{Attr|formationRef}} {{RailMLType|tGenericRef}}, optional


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

Revision as of 10:24, 7 December 2011


blockPart
 


Scheme description / Schemenbeschreibung

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

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The element <blockPart> contains all data, which are related to an atomic particle of a block.

In dem Element <blockPart> werden alle Informationen für einen atomaren Bestandteil eines Umlaufs (blocks) beschrieben.

Attributes of blockPart / Attribute von blockPart

  • id: XML-file-wide unique, machine-interpretable identity, required for later referencing that element internally. For a detailed explanation see Dev:identities.
    XML-Datei-weit eindeutige, maschineninterpretierbare Identität, die für die spätere interne Referenzierung dieses Elements erforderlich ist. Für eine detaillierte Erklärung siehe Dev:identities.
  • code (introduced with version 2.1): Machine-interpretable string (e.g. an abbreviation) used for identification of the object across exchange partners, usecase specific uniqueness constraints may apply. Please see our description of the differences between id, code and human-readable identifiers.
    Maschineninterpretierbare Zeichenkette (z.B. Abkürzung), die zur Identifizierung des Objekts auch bei Austauschpartnern verwendet wird, wobei spezifische Eindeutigkeitsbeschränkungen gelten können. Bitte beachten Sie unsere Erläuterung zu den Unterschieden zwischen id, code and menschenlesbaren Kennzeichnungen.
  • name: Established, human-readable short string, giving the object a name. Not intended for machine interpretation, please see our notice on human interpretable data fields.
    Etablierte, menschenlesbare kurze Zeichenkette, die das Objekt benennt. Nicht zur maschinellen Interpretation bestimmt, siehe Hinweise zu menschenlesbaren Datenfeldern.
  • description: Human-readable, more detailed description as addition to the name. It should give additional explanations or hints to the contents of this element. Not intended for machine interpretation, please see our notice on human interpretable data fields.
    Menschenlesbare, detailliertere Beschreibung als Ergänzung zu name. Sie soll zusätzliche Erläuterungen oder Hinweise auf den Inhalt dieses Elements geben. Nicht zur maschinellen Interpretation bestimmt, siehe Hinweise zu menschenlesbaren Datenfeldern.
  • xml:lang (introduced with version 2.1): This is a unique identifier of language. It uses basically the language standard IETF BCP 47 (external link) which may be different to ISO 639-1 (external link) or ISO 639-2 (external link). For mapping hints see relation to other standards (external link).
    This defines the language used for name and description. Use <additionalName> to provide a name and/or description in other languages.
  • begin:
  • beginDay:
  • end:
  • endDay:
  • startOcpRef: This refers to the id attribute of the associated <ocp> element.
    This is the ocp where the vehicle should start the current task.
  • endOcpRef: This refers to the id attribute of the associated <ocp> element.
    This is the ocp where the vehicle should terminate the current task.
  • trainPartRef: This refers to the id attribute of the associated <trainPart> element.
  • operatingPeriodRef: This refers to the id attribute of the associated <operatingPeriod> element.
    This operatingPeriod constraints the dates the current task is to be fulfilled.
  • mission: Possible values are:
  • timetable
  • fullRun
  • emptyRun
  • outOfOrder
  • fillIn
  • preheating
  • refuel
  • shunting
  • depotrun
  • standBy
  • cleaning
  • maintenance
  • inspection
  • other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
  • fixed:
  • runLength:
  • vehicleRef: This refers to the id attribute of the associated <vehicle> element.
    This vehicle should fulfill the current task. It may supersede the referenced vehicle in <rostering>.
  • formationRef: This refers to the id attribute of the associated <formation> element.
    This formation should fulfill the current task. It may supersede the referenced formation in <rostering>.

Syntactic Constraints / Syntaktische Beschränkungen

  • id: xs:ID, required
    a string, starting with a letter (a..zA..Z) or an underscore (_),
    followed by a non-colonized and non-spaced string consisting of letters, digits, points (.), dashes (-) or underscores (_)
  • code: xs:string, optional
  • name: xs:string, optional
  • description: xs:string, optional
  • xml:lang: xs:language, language identification, 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.