EntityClient.java 543 字节
Newer Older
ibizdev's avatar
ibizdev committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package cn.ibizlab.util.domain;

public class EntityClient extends EntityBase {

    @Override
    public void modify(String field,Object val) {
        if(val==null){
            this.getFocusNull().add(field.toLowerCase());
            getExtensionparams().put("dirtyflagenable",true);
            getExtensionparams().put(field.toLowerCase()+"dirtyflag",true);
        }
        else{
            this.getFocusNull().remove(field.toLowerCase());
            getExtensionparams().remove(field.toLowerCase()+"dirtyflag");
        }
    }

}