Package org.openbel.framework.common.enums

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


                kamNodeCriteria.setInclude(criteria.isIsInclude());

                final List<FunctionReturnType> functionReturnTypes =
                        criteria.getValueSet();
                for (final FunctionReturnType functionReturnType : functionReturnTypes) {
                    final ReturnType kamNodeReturnType =
                            convert(functionReturnType);
                    kamNodeCriteria.add(kamNodeReturnType);
                }

                kamNodeFilter.add(kamNodeCriteria);
View Full Code Here


     *
     * @param s String
     * @return boolean
     */
    private boolean validReturnType(final String s) {
        ReturnType rt = ReturnType.getReturnType(s);
        if (rt != null) return true;
        return false;
    }
View Full Code Here

            final String[] tokens2 = PARAMS_REGEX.split(arg2);
            if (tokens2.length != 2)
                return INVALID_RETURN_TYPE_ARGUMENT;

            final ReturnType re1 = ReturnType.getReturnType(tokens1[1]);
            final ReturnType re2 = ReturnType.getReturnType(tokens2[1]);

            if (re1 != re2 && !re1.isAssignableFrom(re2))
                return INVALID_RETURN_TYPE_ARGUMENT;
            return VALID;
        }
View Full Code Here

TOP

Related Classes of org.openbel.framework.common.enums.ReturnType

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.