Book a Demo

Author Topic: Mapping from an attribute to another attribute  (Read 3130 times)

Alexix

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Mapping from an attribute to another attribute
« on: February 02, 2013, 02:55:19 am »
Hello

there are different methods to do mapping on different thing.
Which methods (ways) do exist to do mapping from one attribute of a clas to another attribute of a class?
I found this picture http://www.dthomas.co.uk/dtalm/images/eshot/test/data_map.JPG which looks very promising. How can I do this kind of mapping (I couldn't find any desciption that describes it)?
Is there any other way to do it?

Thanks for support.

Lorne Dmitruk

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Mapping from an attribute to another attribute
« Reply #1 on: February 02, 2013, 03:32:17 am »
I was just wondering about how to do this myself.
« Last Edit: February 02, 2013, 03:32:32 am by ldmitruk »

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Mapping from an attribute to another attribute
« Reply #2 on: February 02, 2013, 04:12:07 am »
As the originator of the model you refer to perform the following steps

1) Add two class onto a class diagram
2) Populate both classes with attributes
3) Create an association relationship between the two classes
4) [highlight]Right-click the association close to one of the classes[/highlight] and choose [highlight]Link to Element Feature[/highlight]
5) You will be presented with a dialog from which to choose attributes or operations, choose Attribute from the drop down list
6) Select you attribute from the list and click OK
7) Repeat for the other classs
8) Repeat steps 3) through 7) for each pair of attributes

Hope this helps

Cheers
Phil
Models are great!
Correct models are even greater!

Alexix

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Mapping from an attribute to another attribute
« Reply #3 on: February 04, 2013, 09:15:39 pm »
Hi

thanks. This is very helpful.