Package net.relatedwork.shared.dto

Examples of net.relatedwork.shared.dto.DisplayPaperResult.addAuthor()


      result.setAbstract((String) paperNode.getProperty(DBNodeProperties.PAPER_ABSTRACT));
     
      // Author list
      for (Relationship rel: paperNode.getRelationships(DBRelationshipTypes.WRITTEN_BY)){
        Node authorNode = rel.getEndNode();
        result.addAuthor(authorAccessHandler.authorFromNode(authorNode));
      }
     
      // Reference list
      for (Relationship rel: paperNode.getRelationships(DBRelationshipTypes.CITES, Direction.OUTGOING)){
        Node citationTargetNode = rel.getEndNode();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.