Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nlecart

Pages: [1]
1
Thank you Geert,

I will analyse your inputs.

2
Hello,

We bought EA to support all our software conception.
But we are facing a problem with the reverse capacity of EA.
In our C# code we use c# annotation to specify relationship between classes

For example, to specify a composition relation between a person class and a PersonStatus class, we code this like that:
////composition
     
#region PersonStatus
        [OwnedObject(typeof(PersonStatus), Constants.CatBSOStatus,
               new string[] { CreateRoles},
               new string[] { ReaderRoles },
               new string[] { UpdateRoles },
               new string[] { DeleteRoles },
               false,
               Constants.CatOwnedObjectsDisplayOrder + 1,
               "PersonStatusOwnership",
               true, false, false)]
        public string statusID{ get; }

        #endregion PersonStatus


This means that a Person object can contain 0..N PersonStatus objects

//relationship
#region Person Address Relation
        [RelationAttribute(typeof(PersonAddress),            Constants.PersonAddressRelation,
            Constants.AddressRelationshipLabel,
            new string[] { CreateRoles},
               new string[] { ReaderRoles },
               new string[] { UpdateRoles },
               new string[] { DeleteRoles },
            true,
            typeof(BSOAddress),
            Constants.CatRelationshipsDisplayOrder + 0,
            true)]
        public string PersonAddressID { get; set; }
        #endregion Person Address Relation


This means that a person object can be link to 0..N PersonAdress objects

From this code, we would like EA :
-      to generate a UML aggregation link between Person and PersonAdress
-      to generate a UML composition link between  Person PersonStatus

have you ever experienced this ?

can the SDK of EA can help us to develop such a behavior?

Thank you very much for your help

Pages: [1]