1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.vci.server.base.persistence.event;
 
import org.hibernate.Session;
 
import com.vci.common.objects.UserEntity;
 
public class PostUpdateQueryEvent extends AbstractQueryEvent{
    
    private String id = null; //更新对象的ID
    private String[] props = null; //需要更新的属性
    private String [] values = null; //更改后的属性值
    private Object obj = null; //对象的类名
 
    public PostUpdateQueryEvent(Session session, UserEntity userEntity, String id, String[] props,
            String[] values, Object obj) {
        super(session, userEntity);
        this.id = id;
        this.props = props;
        this.values = values;
        this.obj = obj;
    }
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public String[] getProps() {
        return props;
    }
 
    public void setProps(String[] props) {
        this.props = props;
    }
 
    public String[] getValues() {
        return values;
    }
 
    public void setValues(String[] values) {
        this.values = values;
    }
 
    public Object getObj() {
        return obj;
    }
 
    public void setObj(Object obj) {
        this.obj = obj;
    }
}