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...
|
Be the first one to answer this question!
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.