Examples of BELCitation


Examples of org.openbel.bel.model.BELCitation

        BELStatement stmt = stmts.get(0);

        BELEvidence evidence = stmt.getEvidence();
        assertNotNull(evidence);

        BELCitation citation = stmt.getCitation();
        assertNotNull(citation);

        assertEquals("Evidence\nneeded", evidence.getEvidenceLine());
        assertEquals("PubMed", citation.getType());
        assertEquals("X", citation.getName());
        assertEquals("Y", citation.getReference());
    }
View Full Code Here

Examples of org.openbel.bel.model.BELCitation

                            // (optional) parse comments
                            if (tokens.length > 5 && tokens[5] != null) {
                                comment = tokens[5];
                            }

                            citationContext = new BELCitation(type, cname, publicationDate, reference, authors == null ? null : Arrays.asList(authors), comment);
                        }
                    } else if (name.equals("Evidence")) {
                        // redefinition of evidence so clear out evidence context
                        evidenceContext = null;
View Full Code Here

Examples of org.openbel.bel.model.BELCitation

            for (BELAnnotation annotation : annotations) {
                alist.addAll(bac.convert(annotation));
            }
        }

        BELCitation bc = bs.getCitation();
        BELEvidence be = bs.getEvidence();

        AnnotationGroup ag = new AnnotationGroup();
        boolean hasAnnotation = false;
        if (hasItems(alist)) {
View Full Code Here

Examples of org.openbel.bel.model.BELCitation

            publicationDate = c.getDate().getTime();
        }

        String reference = c.getReference();

        BELCitation bc = new BELCitation(c.getType().getDisplayValue(),
                c.getName(), publicationDate, reference, authors, comment);
        return bc;
    }
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.