code: private void addRuntimeNameProperty() throws RepositoryException {
  		
  		String statement = 
  				"/jcr:root" + ISO9075.encodePath(StorageConstants.REPORTS_ROOT) + 
  				"//*[@className='ro.nextreports.server.domain.Report']" + 
  				"//*[fn:name()='parametersValues']";
  		  
  		QueryResult queryResult = getTemplate().query(statement);
  
  		NodeIterator nodes = queryResult.getNodes();
  		
  		LOG.info("RuntimeHistory : Found " + nodes.getSize() + " parameterValues nodes");
  		while (nodes.hasNext()) {			
  			Node node = nodes.nextNode();
  			NodeIterator childrenIt = node.getNodes();
  			while (childrenIt.hasNext()) {
  				Node child = childrenIt.nextNode();				
  				child.setProperty("runtimeName", child.getName());
  			}
  		}	
  		getTemplate().save();		
  	}
docs: add runtimeName property to ParameterValue