Book a Demo

Author Topic: Association-end navigability in XMI export  (Read 4056 times)

dr_shorthair

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Association-end navigability in XMI export
« on: November 24, 2008, 04:41:52 pm »
We are generating XML Schemas from UML which depend critically on the "navigability" status of association ends.
We have a test model that shows all combinations of end navigability status - see https://www.seegrid.csiro.au/twiki/bin/view/AppSchemas/FullMoonTestModels#Test_25.
However, looking in the XMI exported for this model https://www.seegrid.csiro.au/subversion/FullMoon/trunk/resources/xmi-samples/TestAS25.xml, we find

(a) every UML:AssociationEnd/@isNavigable="true" regardless of status

(b) the correct navigability is hidden as a substring in the @value attribute of UML:TaggedValue[@tag="sourcestyle"] or  UML:TaggedValue[@tag="deststyle"]

Obviously the latter is harder to use, but the former appears to be redundant/pointless.
Comments anyone?

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Association-end navigability in XMI export
« Reply #1 on: November 24, 2008, 06:40:50 pm »
Quote
Obviously the latter is harder to use, but the former appears to be redundant/pointless.

Quite. But I never stumbled upon this one cause I'm using the XMI 2.1. and not XMI 1.1 export for code generation.