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

com.github.sidhant92.boolparser.domain.NumericRangeNode Maven / Gradle / Ivy

The newest version!
package com.github.sidhant92.boolparser.domain;

import com.github.sidhant92.boolparser.constant.DataType;
import com.github.sidhant92.boolparser.constant.NodeType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

/**
 * @author sidhant.aggarwal
 * @since 05/03/2023
 */
@AllArgsConstructor
@Getter
@Setter
@Builder
public class NumericRangeNode extends Node {
    private final String field;

    private final Object fromValue;

    private final Object toValue;

    private final DataType fromDataType;

    private final DataType toDataType;

    @Override
    public NodeType getTokenType() {
        return NodeType.NUMERIC_RANGE;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy