met.addMetadata(scalar.getName(), PathUtils.replaceEnvVariables(scalar
.getValue()));
}
for (String vecName : commonMetGroup.getVectors().keySet()) {
PGEVector vec = commonMetGroup.getVector(vecName);
for (String val : (List<String>) (List<?>) vec.getElements()) {
met.addMetadata(vecName, PathUtils.replaceEnvVariables(val));
}
}
return met;