Examples of XBELAnnotation


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

        if (hasItems(annotations)) {
            // Defer to AnnotationConverter
            AnnotationConverter aConverter = new AnnotationConverter();
            for (final Annotation a : annotations) {
                XBELAnnotation xa = aConverter.convert(a);
                list.add(xa);
            }
        }

        if (citation != null) {
View Full Code Here

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

        AnnotationDefinition definition = source.getDefinition();
        String refID = definition.getId();
        String value = source.getValue();

        XBELAnnotation xa = new XBELAnnotation();
        xa.setRefID(refID);
        xa.setValue(value);

        return xa;
    }
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.