Package eu.scape_project.planning.model.values

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


    public  String getDisplayName() {
        return "Integer Range";
    }

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


    @Override
    public boolean isEvaluated(Value value) {
        boolean evaluated = false;
        if ((value != null) && (value instanceof IntRangeValue)) {
            IntRangeValue v = (IntRangeValue)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.IntRangeValue

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.