Book a Demo

Author Topic: mapping attributes between different classes  (Read 3482 times)

carka

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
mapping attributes between different classes
« on: February 24, 2006, 02:57:29 am »
I am looking for efective mapping of attributes between different clasess (interfaces,...) I know it is possible to do it by using TAGGED VALUES but it´is not very efective to do it manualy for every attribute. Is there in EA some possibility to do it more efectively?

Thanks for your help

kanrijs

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: mapping attributes between different classes
« Reply #1 on: March 16, 2006, 12:11:41 am »
I currently have the same question/problem.  Did you get any response or did you find a solution to this?

thomaskilian

  • Guest
Re: mapping attributes between different classes
« Reply #2 on: March 16, 2006, 11:57:26 am »
What exactly do you mean by "maping attrs. between classes"? Can you elaborate a bit?

kanrijs

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: mapping attributes between different classes
« Reply #3 on: March 16, 2006, 11:32:34 pm »
The problem I have is:  
on the one hand, we have a format (csv, xml, ...) received from an external counterparty in which we model as class with for attributes correcponding to the names of elements in the format
on the other hand we have our internal format also modelled as a class with attributes
The names of the attributes do not necessarily correspond between both sides. How can I visually represent which attribute on the one class is mapped to an attribute on the other class?

carka

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: mapping attributes between different classes
« Reply #4 on: March 17, 2006, 12:07:43 am »
We got similar problem as U have. We are doing a little bit bigger integration project (many different platforms and MQ) so we have to do a lot of mapping between e.g. betweeen xml and proprietary functions on existing systems (stored procedures on RDBMS, functions on MUPS systems, etc.)
The only way I know how to do it is to use tagged values but it is not very useful

thomaskilian

  • Guest
Re: mapping attributes between different classes
« Reply #5 on: March 17, 2006, 02:00:28 am »
The only thing that comes to my mind would be to use stereotyped associations with role names appropriately set. I don't know whether that would really help?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: mapping attributes between different classes
« Reply #6 on: March 17, 2006, 04:05:53 am »
Quote
The only thing that comes to my mind would be to use stereotyped associations with role names appropriately set. I don't know whether that would really help?
Since a roled AssociationEnd IS an attribute, Thomas is absolutely correct.  Similarly where the mapping is NOT one-to-one, an AssociationClass or Lozenge can be used.  You will need to use stereotypes to designate the LHS values versus the RHS value.

Now, if EA would provide proper support for these concepts...

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

carka

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: mapping attributes between different classes
« Reply #7 on: March 17, 2006, 07:57:50 am »
Thanks guys,

it looks quite good. I will try to use it!