Home » railML newsgroups » railml.rollingstock » [railML3]: vehicle class - individual vehicle
[railML3]: vehicle class - individual vehicle [message #3074] Tue, 18 April 2023 06:39
Joerg von Lingen is currently offline  Joerg von Lingen
Messages: 148
Registered: May 2011
Senior Member
Dear all,

as result of discussion about correct handling of 'belongsToParent' in
terms of any inheritance the use of this attribute in vehicle element of
rollingstock schema was argued. The wording of this attribut suggest a
handling as aggregation which is not intended here. Therefore we will
set @belongsToParent in vehicle as deprecated in version 3.3. For the
correct usage of inheritance we will introduce 'basedOnTemplate' instead.

The intention was clearly to define all common features of a vehicle
class whereas an individual vehicle will inherit this and only
overwrites/extend the values with its own attributes. Thus the full
repetition of all common features for each individual vehicle can be
avoided.

https://development.railml.org/railml/version3/-/issues/510
--
Dr.-Ing. Jörg von Lingen - Rollingstock scheme coordinator
railML.org (Registry of Associations: VR 5750)
Phone Coordinator: +49 351 87759 40; railML.org: +49 351 47582911
Altplauen 19h; 01187 Dresden; Germany www.railml.org
Previous Topic: [railML3.2]: Proposal for removal of xs:any elements
Next Topic: creating a railML example for rolling stock for RTCI-b UC
Goto Forum:
  


Current Time: Fri Apr 19 09:50:49 CEST 2024