in

The ORM Foundation

Get the facts!

ORM to UML

Last post Sat, Apr 18 2015 15:20 by Terry Halpin. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Sat, Apr 18 2015 12:35

    ORM to UML

     Is there any way around it? I am trying to convert an ORM model into a UML, and It seems that I have  ran into a situation similar to the one described on page 404 " Information Modeling and Data Base Design", Second Editon. Where the attribute itself has its own attributes, is there any way around it except to attach a note on the UML diagram?

    Filed under:
  • Sat, Apr 18 2015 15:20 In reply to

    Re: ORM to UML

     The workaround I use is to create a class for the attribute. For the example on p. 404, create a class called PersonTitle and give it an attribute called "value" or "text" to record the actual title, and add another attribute called "restrictedGender" then add a textual constraint (e.g. in OCL) to capture the constraint expressed in ORM as a join subset constraint. 

    I know this is an ugly workaround, but at least it works. 

    Cheers

    Terry 

Page 1 of 1 (2 items)
© 2008-2015 The ORM Foundation: A UK not-for-profit organisation -------------- Terms of Service