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 - Aditya

Pages: [1]
1
Uml Process / Re: Synchronization of Stereotypes
« on: July 10, 2012, 03:06:15 am »
Look what I am doing now in my code

Repository.SynchProfile("SMM_Profile","Applications");
Repository.SynchProfile("SMM_Profile","DataTypes");
Repository.SynchProfile("SMM_Profile","Services");
Repository.SynchProfile("SMM_Profile","Domain");

If somehow I could get stereotypes from the SMM_Profile, I would need to use a single loop instead of repeating each line of code.
But from what you are saying getting stereotypes from MDG is not possible in EA.

Then is there any other way ?

2
Uml Process / Re: Synchronization of Stereotypes
« on: July 10, 2012, 02:17:10 am »
Thank You !
I did the SynchTaggedValues :)
Now,I need to parse all Stereotypes within a profile and get their names, Any ideas how I may I be able to do that ?

3
Uml Process / Re: Synchronization of Stereotypes
« on: July 07, 2012, 04:56:42 am »
:o :(

Is there any other way, this can be done ?
I read somewhere that all stereotypes can be sychronized at once by using SQL update query in a script. Any idea as to how I can go about it ?

Thank you so much for your time and replies.

4
Uml Process / Re: Synchronization of Stereotypes
« on: July 07, 2012, 01:18:41 am »
The MDG tech that I imported has  name SMM_Profile and that is what is showing in the Toolbox. I created a diagram in the Digram Box in EA from SMM_Profile of type Enumeration and named enum.
So could you please tell me how to use SynchTaggedValues method.
I am doing
var test as EA.Element
test.SynchTaggedValues(SMM_Profile,enum);
its giving me that same null object error. What to do ? please help !

5
Uml Process / Re: Synchronization of Stereotypes
« on: July 06, 2012, 02:22:59 am »
Hi,
Thank You for the reply.
When I use method SyncTaggedValues it gives error
"Undefined is Null or not an object"
On importing MDG technology the profile name is SMM_Profile. But I am not sure, where can one look the profile name from ?

6
Uml Process / Synchronization of Stereotypes
« on: July 04, 2012, 12:52:10 am »
Hi All,

I am new to EA and I am using version 9.1.

I am doing two things
1) Importing data model of type .xmi into EA
2) I am also extending MDG technologies to provide me UML profiles.

The descrepancy occurs as some stereotypes in .xmi doesn't get updated in accordance to the actual data model. For eg - Some tagged values of a structure data type doesn't get updated in the model imported in EA. I get around this problem by manually editing the properties of that structure data type and then manually synchronizing the stereotype.
Now I have to do this for a lot of stereotypes. I want to find a way whereby I can do synchronization of all the stereotypes in one go in EA, so that they match with the actual data model.

Any suggestion would be welcomed, I am an intern and this is all new for me, so pardon me if something is not clear.  Thank You

Regards,
Aditya

Pages: [1]