org.hibernate.search.query.dsl.impl.RangeQueryContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-engine Show documentation
Show all versions of hibernate-search-engine Show documentation
Core of the Object/Lucene mapper, query engine and index management
/*
* Hibernate Search, full-text search for your domain model
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.search.query.dsl.impl;
/**
* @author Emmanuel Bernard
*/
public class RangeQueryContext {
//RANGE
private Object from;
private boolean hasFrom;
private Object to;
private boolean hasTo;
private boolean excludeFrom;
private boolean excludeTo;
public Object getFrom() {
return from;
}
public void setFrom(Object from) {
this.from = from;
this.hasFrom = true;
}
public boolean hasFrom() {
return hasFrom;
}
public Object getTo() {
return to;
}
public void setTo(Object to) {
this.to = to;
this.hasTo = true;
}
public boolean hasTo() {
return hasTo;
}
public boolean isExcludeFrom() {
return excludeFrom;
}
public void setExcludeFrom(boolean excludeFrom) {
this.excludeFrom = excludeFrom;
}
public boolean isExcludeTo() {
return excludeTo;
}
public void setExcludeTo(boolean excludeTo) {
this.excludeTo = excludeTo;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy