xiejun
2023-09-18 978f74777e10a0531c4413ab36320d2be36f42ea
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
package com.vci.rmip.code.client.codeapply.Apply410.object.ubcscode.vo;
 
//package com.vci.starter.web.pagemodel;
 
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
 
public class KeyValue implements Serializable {
    private static final long serialVersionUID = 7708882804529442626L;
    private String key;
    private String value;
    private Map<String, Object> attributes = new HashMap();
 
    public KeyValue() {
 
    }
 
    public String getKey() {
        return this.key;
    }
 
    public void setKey(String key) {
        this.key = key;
    }
 
    public String getValue() {
        return this.value;
    }
 
    public void setValue(String value) {
        this.value = value;
    }
 
    public Map<String, Object> getAttributes() {
        return this.attributes;
    }
 
    public void setAttributes(Map<String, Object> attributes) {
        this.attributes = attributes;
    }
 
    public void addAttr(String attr, Object attrValue) {
        this.attributes.put(attr, attrValue);
    }
 
    @Override
    public String toString() {
        return "KeyValue{key='" + this.key + '\'' + ", value='" + this.value + '\'' + ", attributes=" + this.attributes + '}';
    }
 
}