List nodes = requestEnvelope.getNodes();
int i = 0;
Iterator iterator = nodes.iterator();
while(iterator.hasNext())
{
Node n = (Node)iterator.next();
hash.put("nodeList." + i + ".id", "" + n.getId());
hash.put("nodeList." + i + ".name", "" + n.getName());
hash.put("nodeList." + i + ".isBranch", "" + n.getIsBranch());
i++;
}
return hash;
}