Class<?> paramType = method.getParameterTypes()[0];
value = toTargetType(paramType, value);
method.invoke(target, value);
} catch (Exception ex) {
OpenDataException odex = new OpenDataException("Cannot invoke setter for: " + itemName);
odex.initCause(ex);
throw odex;
}
}
static CompositeData toCompositeData(CompositeType ctype, Object value) throws OpenDataException {