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

Java how to check if an attribute is an enumeration?

How can I check if an attribute is an Enumeration in java. I know you can get the attribute type of an IAttribute with the getAttributeType() method, but I know the id of an enum can't always be used to check if the attribute is itself an enum. Is there a way to use server side code to make sure the attribute is an enum without using the attribute's id?

0 votes

Comments
The forum blocks all my attempts with illegal text string found.

AttributeTypes

Used in Work Item Command line

UpdateHelper


Be the first one to answer this question!

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
× 11,089
× 7,613
× 1,442
× 91
× 5

Question asked: Apr 24, 6:48 p.m.

Question was seen: 311 times

Last updated: yesterday

Confirmation Cancel Confirm