All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yamcs.xtce.IntegerValidRange Maven / Gradle / Ivy

There is a newer version: 5.10.7
Show newest version
package org.yamcs.xtce;
/**
 * XTCE: Holds an integer range and flag denoting whether the range is calculated on the value using the source data type or the destination data type.
 */
public class IntegerValidRange extends IntegerRange {
    private static final long serialVersionUID = 1L;
    /**
     * Ranges are applied to the raw source DataEncoding data type or against the calibrated or converted destination data type
     */
    boolean validRangeAppliesToCalibrated=false;


    public IntegerValidRange(long minInclusive, long maxInclusive) {
        super(minInclusive, maxInclusive);
    }

    public IntegerValidRange(IntegerRange range) {
        super(range);
    }

    public boolean isValidRangeAppliesToCalibrated() {
        return validRangeAppliesToCalibrated;
    }

    public void setValidRangeAppliesToCalibrated(boolean validRangeAppliesToCalibrated) {
        this.validRangeAppliesToCalibrated = validRangeAppliesToCalibrated;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy