It's all about the answers!

Ask a question

what is "unassigned literal" when defining an enumeration attribute in RTC


jeff thomas (542528) | asked Oct 07 '14, 6:30 p.m.
 When you define an enumeration type in RTC, you need to define a default value and an unassigned literal.  I understand what the default value is for.  I'm not sure about the "unassigned literal".  Can anybody explain that to me?
Thanks!

Accepted answer


permanent link
Lily Wang (4.9k714) | answered Oct 07 '14, 7:29 p.m.
Hi Jeff, 

If you want to make an enumeration attribute as a required field, you can define an Unassigned literal. When the enumeration attribute has this Unassigned literal selected, RTC considers the attribute is unset. For a use case, you can see the answer in the post https://jazz.net/forum/questions/72880/enumeration-default-literal

Hope that's helpful.
jeff thomas selected this answer as the correct answer

Comments
jeff thomas commented Oct 07 '14, 7:54 p.m.

thank you Lily. 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.