Examples of XBELExternalAnnotationDefinition


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

    public XBELExternalAnnotationDefinition convert(AnnotationDefinition t) {
        if (t == null || t.getURL() == null) {
            return null;
        }

        XBELExternalAnnotationDefinition dest =
                new XBELExternalAnnotationDefinition();

        String id = t.getId();
        String url = t.getURL();

        dest.setId(id);
        dest.setUrl(url);

        return dest;
    }
View Full Code Here

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

                if (iad != null) {
                    internals.add(iad);
                    continue;
                }

                XBELExternalAnnotationDefinition ead = eConverter.convert(ad);
                if (ead != null) {
                    externals.add(ead);
                }
            }
            xd.setAnnotationDefinitionGroup(xadGroup);
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.