Pinned topicHow do you create an Object using the Java API?

‏2012-12-17T23:58:34Z
|Tags:

Answered question
This question has been answered.

Unanswered question
This question has not been answered yet.

I've attached a screen shot of the Rhapsody UI with the model element I want to create using the Java API. I know I need to use addNewAggr with a metaclass and a name. I've tried metaclass Object; it returns an IRPInstance that in the UI is a Part. Metaclass InstanceSpecification returns an IRPInstanceSpecification and in the UI is an InstanceSpecification. I've tried metaclass ObjectNode, but couldn't get that to create under a Package, so I know that is not it.

Thanks for your reply. I know the SysML profile is in the model, but I didn't do a "Change to" SysML. It was still using the Developer "edition" when I was working in it and when I made the screen shot.

Re: How do you create an Object using the Java API?

Thanks for your reply. I know the SysML profile is in the model, but I didn't do a "Change to" SysML. It was still using the Developer "edition" when I was working in it and when I made the screen shot.