Is there any way to get the name of the Shape (Artifact Type) in RRC from Shape URI ?
We have obtained the shape URI through and it returns a URI as Resource Shape URI->> https://ch5dlfi077.in.ibm.com:9445/rm/types/_p1fzIvcNEeGlgZR4QWph9g, is there any way by which we can get the name of the shape?
The code snippet I am using to get the shape is as follows..
NodeList paNode = (NodeList)(xpath.evaluate(requirementfactoryShapes, doc, XPathConstants.NODESET));
for (int i = 0; i < paNode.getLength(); i++) {
//These all correspond to an artifact type URI in RRC
System.out.println("Resource Shape URI->> " + paNode.item(i).getTextContent());
}
The code snippet I am using to get the shape is as follows..
NodeList paNode = (NodeList)(xpath.evaluate(requirementfactoryShapes, doc, XPathConstants.NODESET));
for (int i = 0; i < paNode.getLength(); i++) {
//These all correspond to an artifact type URI in RRC
System.out.println("Resource Shape URI->> " + paNode.item(i).getTextContent());
}