Commit 295c5c56 authored by's avatar
Browse files

add "@nmsp" property

parent 7dec2be6
......@@ -227,6 +227,7 @@ public class MongoQueries {
Document _id = (Document) doc.remove("_id");
doc.append("@id", toolsDAO.getURI(_id));
doc.append("@nmsp", toolsDAO.getNamespace(_id));
doc.append("@type", toolsDAO.getType(_id));
doc.append("@label", toolsDAO.getLabel(_id));
doc.append("@version", toolsDAO.getVersion(_id));
......@@ -439,6 +440,7 @@ public class MongoQueries {
for (Document tool : tools) {
Document _id = (Document) tool.remove("_id");
tool.append("@id", toolsDAO.getURI(_id));
tool.append("@nmsp", toolsDAO.getNamespace(_id));
tool.append("@type", toolsDAO.getType(_id));
tool.append("@label", toolsDAO.getLabel(_id));
tool.append("@version", toolsDAO.getVersion(_id));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment