cn.vonce.sql.bean.ConditionInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vonce-sqlbean-core Show documentation
Show all versions of vonce-sqlbean-core Show documentation
This is the core project of Sqlbean.
package cn.vonce.sql.bean;
import cn.vonce.sql.enumerate.SqlLogic;
import cn.vonce.sql.enumerate.SqlOperator;
import java.io.Serializable;
/**
* Sql where条件形态
*
* @author Jovi
* @version 1.0
* @email [email protected]
* @date 2018年4月16日下午7:15:10
*/
public class ConditionInfo extends SqlField implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
public ConditionInfo() {
super();
}
public ConditionInfo(String field, Object value) {
this(null, "", "", field, value, null);
}
public ConditionInfo(String tableAlias, String field, Object value) {
this(null, "", tableAlias, field, value, null);
}
public ConditionInfo(String schema, String tableAlias, String field, Object value, SqlOperator sqlOperator) {
this(null, schema, tableAlias, field, value, sqlOperator);
}
public ConditionInfo(SqlLogic sqlLogic, String schema, String tableAlias, String field, Object value, SqlOperator sqlOperator) {
super(schema, tableAlias, field);
this.sqlLogic = sqlLogic;
this.value = value;
this.sqlOperator = sqlOperator;
}
private SqlLogic sqlLogic;
private Object value;
private SqlOperator sqlOperator;
public Object getValue() {
return value;
}
public void setValue(Object value) {
this.value = value;
}
public SqlOperator getSqlOperator() {
return sqlOperator;
}
public void setSqlOperator(SqlOperator sqlOperator) {
this.sqlOperator = sqlOperator;
}
public SqlLogic getSqlLogic() {
return sqlLogic;
}
public void setSqlLogic(SqlLogic sqlLogic) {
this.sqlLogic = sqlLogic;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy