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

eu.xenit.apix.search.nodes.RangeValue Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package eu.xenit.apix.search.nodes;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Represents a range of values on which can be searched.
 */
//@JsonTypeInfo(use = JsonTypeInfo.Id.NONE)
//@JsonDeserialize(using=BeanDeserializer.class)
public class RangeValue {

    private String start;
    private String end;

    public RangeValue(@JsonProperty("start") String start, @JsonProperty("end") String end) {
        this.start = start;
        this.end = end;
    }

    /*@Override
    public  T accept(ISearchSyntaxVisitor visitor) {
        return visitor.visit(this);
    }*/

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy