Getting IAttributeHandle from IAttribute
I need to set a value to an enumeration field
I know the IAttribute of the field, and in:
it says that i must call function:
Identifier ident = getLiteralEqualsString (String s, IAttributeHandle ah)
to get the Identifier value.
How I do get the IAttributeHandle from the IAttribute ?
Accepted answer
In your development environment set up based on the RTC Extensions workshop, you use Navigate>Open Type
You enter com.ibm.team.workitem.common.model.IAttribute and open the type.
Check the interfaces that com.ibm.team.workitem.common.model.IAttribute extends and answer your question.
The getLiteralEqualsString is a utility that needs to be written. I think it is shown in the post.