com.wizarius.orm.database.data.WhereField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wizarius-orm Show documentation
Show all versions of wizarius-orm Show documentation
Java orm for Postgres or Mysql with migration system and connection pool
package com.wizarius.orm.database.data;
/**
* Created by Vladyslav Shyshkin on 20.04.2018.
*/
public class WhereField {
private Object value;
private DBSignType signType;
private boolean isQuery;
public WhereField() {
}
public WhereField(Object value, DBSignType type) {
this.value = value;
this.signType = type;
}
public WhereField(Object value, DBSignType type, boolean isQuery) {
this.value = value;
this.isQuery = isQuery;
this.signType = type;
}
public Object getValue() {
return value;
}
public void setValue(Object value) {
this.value = value;
}
public boolean isQuery() {
return isQuery;
}
public void setQuery(boolean query) {
isQuery = query;
}
public DBSignType getSignType() {
return signType;
}
public void setSignType(DBSignType signType) {
this.signType = signType;
}
@Override
public String toString() {
return "WhereField{" +
"value=" + value +
", signType=" + signType +
", isQuery=" + isQuery +
'}';
}
}