NIHVIVO-143 Get rangeDatatypeUri from the data property statement when deleting a vitro namespace property.
This commit is contained in:
parent
6038b68c4a
commit
a5ca5069f2
1 changed files with 1 additions and 4 deletions
|
@ -42,10 +42,7 @@
|
|||
|
||||
Model model = (Model)application.getAttribute("jenaOntModel");
|
||||
|
||||
// RY ***** Get the rangeDatatypeUri - need to get the existing value datatype. Or just hardcode?
|
||||
//String rangeDatatypeUri = vreq.getWebappDaoFactory().getDataPropertyDao().getRequiredDatatypeURI(subject, prop);
|
||||
//String rangeDatatypeUri = prop.getRangeDatatypeURI();
|
||||
String rangeDatatypeUri = "http://www.w3.org/2001/XMLSchema#string";
|
||||
String rangeDatatypeUri = dps.getDatatypeURI();
|
||||
String rangeDatatypeUriJson = MiscWebUtils.escape(rangeDatatypeUri);
|
||||
vreq.setAttribute("rangeDatatypeUriJson", rangeDatatypeUriJson);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue