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

Pages: [1]
1
Hi,

When I modify the MDG tecnology adding new tagged values, I need to add tagged values to the previously created objects and appear in a diferent comparment.

Could you help to identify how to manage the comparments in the app, using the API or even changing the data model.

Thanks.

2
I found the answer, thanks for the clue.

org.sparx.Package paqDiego = null;
paqDiego = repositoryEA.GetModels().GetByName("Model name");
paqDiego = paqDiego.GetPackages().GetByName("package name 1"); (many times)
            
Collection cElements = paqDiego.GetElements();
cElements.AddNew("Element Diego", "Requirement");


Best regards

3
Thanks for you reply, but unfortunately in JAVA seem not to exist that method in Element Object.

Best regards.

4
Please, I can't create a new element using the JAVA API.

At least I need to obtain a new GUID in order to make the insert in BBDD or import CSV file.

Thanks in advance.

Pages: [1]