NIHVIVO-143 Allow adding a new moniker from the front end
This commit is contained in:
parent
87a97cd8df
commit
bcbe290c51
10 changed files with 146 additions and 39 deletions
|
@ -201,9 +201,11 @@ public class RdfLiteralHashTest {
|
|||
|
||||
Individual bob = new IndividualImpl();
|
||||
bob.setURI("http://example.com/bob");
|
||||
|
||||
String propertyUri = VitroVocabulary.MONIKER;
|
||||
|
||||
int hash = RdfLiteralHash.makeVitroNsLiteralHash(bob,VitroVocabulary.MONIKER, "great", model);
|
||||
DataPropertyStatement stmt = RdfLiteralHash.getVitroNsPropertyStmtByHash(bob, model, hash);
|
||||
int hash = RdfLiteralHash.makeVitroNsLiteralHash(bob, propertyUri, "great", model);
|
||||
DataPropertyStatement stmt = RdfLiteralHash.getVitroNsPropertyStmtByHash(bob, propertyUri, model, hash);
|
||||
|
||||
String data = stmt.getData();
|
||||
String datatypeUri = stmt.getDatatypeURI();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue