package org.theonefx.wcframework.jdbc.easyjsql;
public class SetEntry {
private String key;
private Object val;
private Class<?> valueType;
public SetEntry() {
}
public SetEntry(String key, Object val) {
this.key = key;
this.val = val;
if (val != null) {
valueType = val.getClass();
}
}
public SetEntry(String key, Object val, Class<?> valueType) {
this.key = key;
this.val = val;
this.valueType = valueType;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public Object getVal() {
return val;
}
public void setVal(Object val) {
this.val = val;
}
public Class<?> getValueType() {
return valueType;
}
public void setValueType(Class<?> valueType) {
this.valueType = valueType;
}
}