Skip to content

Commit

Permalink
Update B2MML-OperationalLocation.xsd
Browse files Browse the repository at this point in the history
ERDI, MESA: #2 
**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**
In B2MML: Change the name of existing source element of unidirectional relationship in schema to a naming convention of XXXSourceID from XXXXID. 

CHANGE:       "OperationalLocationClassType"  
<xsd:element name = "OperationalLocationID"       type = "IdentifierType"  minOccurs = "0" maxOccurs = "unbounded"/>
TO: "OperationalLocationSourceID"
  • Loading branch information
CharlieG021163 authored Dec 8, 2019
1 parent c644f38 commit 25e82e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Schema/B2MML-OperationalLocation.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ may be made up of other operational locations.
<xsd:element name = "OperationalLocationClassBaseID"
type = "IdentifierType"
minOccurs = "0" maxOccurs = "unbounded"/>
<xsd:element name = "OperationalLocationID" type = "IdentifierType"
<xsd:element name = "OperationalLocationSourceID" type = "IdentifierType"
minOccurs = "0" maxOccurs = "unbounded"/>
<xsd:element name = "OperationalLocationClassProperty"
type = "OperationalLocationClassPropertyType"
Expand Down

0 comments on commit 25e82e2

Please sign in to comment.