If you know the parameter name, you can use something like this:
String myStringValue = nmcommandbean.getTextParameter("myStringParamKey");
Or you can get the parameter map and pull it from there:
HashMap<String,Object> params = ((ObjectBean)list.get(i)).getParameterMap();
Iterator<String> iterator = params.keySet().iterator();
while (iterator. hasNext()) {
String key = (String) iterator.next();
String[] valueArray = (String[])params.get(key);
if (key.contains("myStringParamKey") && !(key.contains("___old"))) {
String myStringValue = valueArray[0];
}
}