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...