I am working on extracting some information from Rhapsody model using JAVA APIs. But unfortunately the findNestedElementRecursive(String name, String metaClass) method is not returning the nested element (name and metaClass are specified correctly). I also checked with getNestedElementRecursive() for the same owner element and this method too is not returning all the elements present under the owner element. However the model when opened in Rhapsody lists all the elements.
Any help is appreciated.
Pinned topic Rhapsody JAVA API not behaving as expected
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-27T06:39:56Z at 2013-02-27T06:39:56Z by SystemAdmin
SystemAdmin 110000D4XK1305 Posts
Re: Rhapsody JAVA API not behaving as expected2013-02-27T06:39:56ZThis is the accepted answer. This is the accepted answer.UPDATE : Sorry for the misinformation. Above problem had nothing to do with the JAVA API. It was just that the model had some duplicate objects (with same name and metaclass) under the same owner. Hence the API used to pick the object which did not have the required nested elements.