Package org.openbel.bel.xbel.model

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


    @Override
    public Term convert(final XBELTerm source) {
        if (source == null) return null;

        // Set term function
        Function f = source.getFunction();
        FunctionEnum funcEnum = fromString(f.value());

        // Destination type
        Term dest = new Term(funcEnum);

        // Schema defines either a list of arg values or terms
View Full Code Here


        if (source == null) return null;

        XBELTerm xt = new XBELTerm();

        FunctionEnum functionEnum = source.getFunctionEnum();
        Function func = Function.fromValue(functionEnum.getDisplayValue());
        xt.setFunction(func);

        List<BELObject> functionArgs = source.getFunctionArguments();
        List<JAXBElement> prmtrms = xt.getParameterOrTerm();
View Full Code Here

TOP

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

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.