com.tmsps.ne4spring.orm.param.NeParam Maven / Gradle / Ivy
package com.tmsps.ne4spring.orm.param;
import java.io.Serializable;
import com.tmsps.ne4spring.utils.ChkUtil;
public class NeParam implements Serializable {
private static final long serialVersionUID = 1L;
private boolean isNull;
private Object value;
public boolean getIsNull() {
return isNull;
}
public void setIsNull(boolean isNull) {
this.isNull = isNull;
}
public Object getValue() {
return value;
}
public void setValue(Object value) {
if (ChkUtil.isNull(value)) {
this.setIsNull(true);
}
this.value = value;
}
}