Package org.outerj.expression

Examples of org.outerj.expression.VariableFunction


    protected void setupExpression(String formula, SimpleFormula algo) throws Exception {
        Expression expression = expressionManager.parse(formula);
        algo.setFormula(expression);
        List vars = expressionManager.parseVariables(formula);
        for (Iterator iter = vars.iterator(); iter.hasNext();) {
            VariableFunction var = (VariableFunction) iter.next();
            algo.addTrigger(var.getVariableName());
        }
    }
View Full Code Here


    protected void setupExpression(String formula, SimpleFormula algo) throws Exception {
        Expression expression = expressionManager.parse(formula);
        algo.setFormula(expression);
        List vars = expressionManager.parseVariables(formula);
        for (Iterator iter = vars.iterator(); iter.hasNext();) {
            VariableFunction var = (VariableFunction) iter.next();
            algo.addTrigger(var.getVariableName());
        }
    }
View Full Code Here

TOP

Related Classes of org.outerj.expression.VariableFunction

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.