Hi Geert,
Thank you so much for your reply. It was really helpfull.
I am still struglling with Create/Update/Get Requirements through java api. I need api to list all requirements of given package/reposirtory. Also I need apis to create/update requiorements in given package. As per previous reports, I tried to add element in following way :
Repository r = new Repository();
boolean flag = r.OpenFile("C:\\TestProject.eap");
Package pkg = r.GetPackageByGuid("{293016A6-0D38-427d-90E4-3EE5925DB438}");
org.sparx.Collection<Element> coll = pkg.GetElements();
coll.AddNew("Requirement","test");
Here, it does not give any error. But I can not see any requirement created under package ( having guid {293016A6-0D38-427d-90E4-3EE5925DB438} ).
Also, I was looking at the documentation pdf called enterprise_architect_sdk.pdf. Where there is listing of various classes/ methods. I was looking at Requirement class, but I did not get how to load requirement object.
Is it advisable to use java api or is it better to create .net project ?
Thank you so much once again.
Thanks,
Riddhi Shah
[original message]