Book a Demo

Author Topic: relationships between class attributes  (Read 2323 times)

supplyondemand

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
relationships between class attributes
« on: July 12, 2012, 12:21:55 am »
Hello,

I want to model the relationships between various elements in our application with EA.

To make it simple, just assume I only want to model the relationship (aka mapping) between certain fields of an incomming EDIFACT message to our own (proprietary) XML schemata.

I have the EDIFACT message format as a xsd as well.

I know how to import xsd into EA: EA generates corresponding classes with attributes.

My question is: is it possible define relationships / assoziations between the attributes (one field in EDIFACT maps to a certain field in our xml)?

So far it seems I can only define relationships between the class elements.

Thank you!

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: relationships between class attributes
« Reply #1 on: July 12, 2012, 01:11:12 am »
Hello,

yes, draw a dependency from one class to the other.

Then Right Click on the left side of the dependency and chose Link to Element Feature, chose Attribut and then select your attribute.

On the right side the same procedure.

Good luck,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)