예제 #1
0
 /** Explicitly removes the types from the entity. */
 public void removeDesignations(Object entity, String... uris) throws RepositoryException {
   URI[] types = new URI[uris.length];
   for (int i = 0; i < uris.length; i++) {
     types[i] = getValueFactory().createURI(uris[i]);
   }
   removeDesignations(entity, types);
 }
예제 #2
0
 /** Explicitly removes the type from the entity. */
 public void removeDesignation(Object entity, URI type) throws RepositoryException {
   removeDesignations(entity, type);
 }
예제 #3
0
 /** Explicitly removes the type from the entity. */
 public void removeDesignation(Object entity, String uri) throws RepositoryException {
   removeDesignations(entity, getValueFactory().createURI(uri));
 }