org.springframework.data.jpa.support.Search Maven / Gradle / Ivy
package org.springframework.data.jpa.support;
import javax.validation.constraints.NotNull;
public class Search {
@NotNull
private String value;
@NotNull
private Boolean regex;
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public Boolean getRegex() {
return regex;
}
public void setRegex(Boolean regex) {
this.regex = regex;
}
public Search() {
super();
}
public Search(String value, Boolean regex) {
super();
this.value = value;
this.regex = regex;
}
}