Open CharlieG021163 opened 5 years ago
@CharlieG021163 will provide examples.
Team Agrees
I don't believe that the name "SourceID" really works, These are the IDs of releated objects, such as OperationalLocationID is the ID of the Operational Location. When I read "OperationalSourceID", I don't think of this as an OperationalLocation ID, but as an ID of something called an OperationalLocationSource, and there is no such object. The convention was to use the
Hi @Dennis-Brandl do you disagree with the change based only on 'source' or because you do not want to implement a change to align with ISA95 in regards to the unidirectional relationship for source and target elements?
If the first, we can review and come up with an alternative approach perhaps. If the latter, then I can remove this change proposal from the 'Final Review' milestone as closed for MESA.
I still disagree with the change based on the name of the element. I think it is misleading. To me "Source" means something like a source file, or source of the data, not a like to a parent. But we just need to get this out of ETPartners and into the MESA review, so I kept the change that was in the ETPartners version. This issue can be closed.
ERDi Decision: What is design rule for AMIRA / ERDi Protobuf and JSON implementions?
Background In updated 950002 and 950004 models, 95 Committee agreed that the standard's convention is show the logical direction of all UML model relationships. Most relationships in models are unidirectional from a source object to a target object where the UML and XML best practice is applied with only the naming of target role element in the relationship role table for each object.
The current B2MML 7.0 beta is very inconsistent by having both source and target elements for unidirectional relationships in many types and having no source element in many types.
Solution MESA Solution: Since updated 950002 relationship role naming convention only names the target element and not source element, the existing instances of source elements in B2MML shall not be deleted to align with the updated standard but shall change the element name to XXXSourceID to make the role explicit in the object and it B2MML type to be schematically correct, MESA B2MML implementation is inconsistent in it use of source elements across the schema.
ERDi Options: Recommend B2MML adopt a consistent design principle in its implementation of either:
Example: EquipmentClassType, element name = "EquipmentID" type = "IdentifierType".
This the source in a unidirectional relationship in updated ISA-95 part 2 and B2MML represents it as a bidirectional relationship by having this element. This applies across all resource types. The following elements are the current B2MML source elements for various relationships that are changed to the Option 1 naming convention:
Impacted Types and Solutions