Package org.openbel.bel.xbel.model

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


                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

Related Classes of org.openbel.bel.xbel.model.XBELExternalAnnotationDefinition

Copyright © 2018 www.massapicom. 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.