Package eu.scape_project.planning.model.values

Examples of eu.scape_project.planning.model.values.FloatRangeValue


        return "Number Range";
    }

    @Override
    public FloatRangeValue createValue() {
        FloatRangeValue v = new FloatRangeValue();
        v.setScale(this);
        return v;
    }
View Full Code Here


    @Override
    public boolean isEvaluated(Value value) {
        boolean evaluated = false;
        if ((value != null) && (value instanceof FloatRangeValue)) {
            FloatRangeValue v = (FloatRangeValue)value;

            evaluated = value.isChanged() &&
            (v.getValue() >= getLowerBound() && v.getValue() <= getUpperBound());
        }
        return evaluated;
    }
View Full Code Here

TOP

Related Classes of eu.scape_project.planning.model.values.FloatRangeValue

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.