I created Type element under Interface element in my Rhapsody model(version 8.0 Libra), but I am not able to set its "Kind" as
"Enumeration" or "typedef" through Eclipse IDE (version 3.6.2) and I can only set those as Structure or Language.
In Rhapsody API referance manual it describes as, we need to handle it as "Enumerated" or "typedef" through Eclipse IDE. But even after setting this as "Type.setKind("Enumerated")", this is not functioning. Can I get any help on this issue?
Pinned topic Unable to set kind as Enumeration or typedef for the Type in Rhapsody
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-06-22T14:45:36Z at 2011-06-22T14:45:36Z by navaneethms
GidiGal 270002ADPJ23 Posts
Re: Unable to set kind as Enumeration or typedef for the Type in Rhapsody2011-06-21T18:15:13ZThis is the accepted answer. This is the accepted answer.Hello,
I tried to reproduce the problem you reported with no success. I attach screenshots of enumerated type and typedef type under interface element. I attached also a screenshot of my Eclipse version. Is there any additional information about your model that may cause this problem ?
Re: Unable to set kind as Enumeration or typedef for the Type in Rhapsody2011-06-22T05:16:23ZThis is the accepted answer. This is the accepted answer.
- GidiGal 270002ADPJ
Here I am able to make the changes for the Kind manually, but with the code I am not able to set and by default Type kind is coming as "Language". I attached screenshots of my rhapsody version, eclipse version and piece of the code which changes Type's Kind. Please have a look
Re: Unable to set kind as Enumeration or typedef for the Type in Rhapsody2011-06-22T14:45:36ZThis is the accepted answer. This is the accepted answer.Hello,
Now the Kind issue has been resolved, There was an exception which causes me to set the Kind as Enumeration or Typedef
But anyways thanks Gidi for the help you provided.