Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Determining whether IAttribute instance is an enumeration

Say that I have an instance of IAttribute, attribute. How can I determine if attribute is an enumeration?

0 votes



One answer

Permanent link
Say that I have an instance of IAttribute, attribute. How can I determine if attribute is an enumeration?


you could try with
attribute.getAttributeType()

it should return stuff like , html, type , smallstring etc.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Jul 15 '10, 9:41 a.m.

Question was seen: 5,509 times

Last updated: Jul 15 '10, 9:41 a.m.

Confirmation Cancel Confirm