It's all about the answers!

Ask a question

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


Amit Kumar (38419) | asked Mar 09 '16, 7:17 a.m.
 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...

Be the first one to answer this question!


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.