Topic
1 reply Latest Post - ‏2013-02-27T06:39:56Z by SystemAdmin
SystemAdmin
SystemAdmin
1305 Posts
ACCEPTED ANSWER

Pinned topic Rhapsody JAVA API not behaving as expected

‏2013-02-15T04:29:41Z |
Hi,

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.

Thanks
Satish
Updated on 2013-02-27T06:39:56Z at 2013-02-27T06:39:56Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1305 Posts
    ACCEPTED ANSWER

    Re: Rhapsody JAVA API not behaving as expected

    ‏2013-02-27T06:39:56Z  in response to SystemAdmin
    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.