A UML Package URI is a Package property value which is visible in the MagicDraw specification window.
The «Resource» IRI is a Package Tags value which is visible in the MagicDraw specification window's Tags section.
Both values mean the same thing, but their values could be different. To avoid confusion, the modeling tool synchronizes both values.
There are several cases to consider:
Property | Action | Result |
---|---|---|
UML Package URI | Create | Update «Resource» IRI |
UML Package URI | Update | Update «Resource» IRI |
UML Package URI | Remove | Update package URI from value in «Resource» IRI or generate new URI when «Resource» IRI value is blank |
«Resource» IRI | Create | Update package URI |
«Resource» IRI | Update | Update package URI |
«Resource» IRI | Remove | Create new value using package URI or generate new URI when package URI is blank |
The table above shows that when creating or updating UML package URI value, its «Resource» IRI tagged value will be updated to be the same as URI value.