Examples of CitationType


Examples of org.openbel.bel.xbel.model.CitationType

        dest.setComment(comment);

        String reference = source.getReference();
        dest.setReference(reference);

        CitationType type = source.getType();
        if (type != null) {
            dest.setType(fromString(type.value()));
        }

        if (source.isSetAuthorGroup()) {
            List<String> author = source.getAuthorGroup().getAuthor();
            dest.setAuthors(author);
View Full Code Here

Examples of org.openbel.bel.xbel.model.CitationType

        xc.setReference(source.getReference());
        xc.setName(source.getName());

        org.openbel.framework.common.enums.CitationType type = source.getType();
        if (type != null) {
            CitationType ct = CitationType.fromValue(type.getDisplayValue());
            xc.setType(ct);
        }

        List<String> authors = source.getAuthors();
        if (hasItems(authors)) {
View Full Code Here

Examples of org.openbel.framework.common.enums.CitationType

                for (Citation citation : citations) {
                    final String id = citation.getId();
                    final String name = citation.getName();
                    final String comment = citation.getComment();
                    final CitationType citationType =
                            citation.getCitationType();
                    final String ctype = citationType != null ? citationType
                            .getDisplayValue() : null;

                    // Pack the authors string exactly as done in
                    // CitationDataConverter.convert(Citation, Map<String, BELAnnotationDefinition>).
                    String author = null;
View Full Code Here

Examples of org.openbel.framework.common.enums.CitationType

            String name = null;
            String id = null;
            String comment = null;
            Date publicationDate = null;
            List<String> authors = null;
            CitationType citationType = null;

            for (Annotation annotation : annotationList) {
                if (CitationReferenceAnnotationDefinition.ANNOTATION_DEFINITION_ID
                        .equals(annotation.getAnnotationType().getName())) {
                    //citation reference id
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.