working on converting position editing to ISF
This commit is contained in:
parent
c162d3d84b
commit
a8f1bfcf15
1 changed files with 2 additions and 2 deletions
|
@ -70,10 +70,10 @@ public class AddPublicationToPersonGenerator extends VivoBaseGenerator implement
|
|||
|
||||
//try to get the publication
|
||||
List<ObjectPropertyStatement> stmts =
|
||||
authorshipNode.getObjectPropertyStatements("http://vivoweb.org/ontology/core#linkedInformationResource");
|
||||
authorshipNode.getObjectPropertyStatements("http://vivoweb.org/ontology/core#relates");
|
||||
if( stmts == null || stmts.isEmpty() ){
|
||||
return doBadAuthorshipNoPub( vreq );
|
||||
}else if( stmts.size() > 1 ){
|
||||
}else if( stmts.size() > 2 ){
|
||||
return doBadAuthorshipMultiplePubs(vreq);
|
||||
}else{
|
||||
//skip to publication
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue