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

Lyo client java org.eclipse.lyo.oslc4j.core.model.Property getAllowedValuesCollection() is throwing exception

 Hi ,

I need to retrieve the list of allowed value for a property in ResourceShape.
for(Property prty:resourceShape.getProperties()){
prty.getAllowedValuesCollection()
}
 method is throwing exception.
org.eclipse.lyo.oslc4j.core.model.ResourceShape cannot be cast to java.util.Collection

Kindly Help...

0 votes


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,106

Question asked: Mar 09 '16, 7:17 a.m.

Question was seen: 4,139 times

Last updated: Mar 09 '16, 7:17 a.m.

Confirmation Cancel Confirm