田源
2024-09-20 51542c2d2272cfe19db8e7dbc07cccc1c448d22a
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
package com.vci.pagemodel;
 
import java.util.HashMap;
import java.util.Map;
 
public class KeyValue implements java.io.Serializable {
 
    /**
     * 
     */
    private static final long serialVersionUID = 7708882804529442626L;
 
    private String key;
    
    private String value;
    
    private Map<String,Object> attributes = new HashMap<String, Object>();
            
    public String getKey() {
        return key;
    }
 
    public void setKey(String key) {
        this.key = key;
    }
 
    public String getValue() {
        return value;
    }
 
    public void setValue(String value) {
        this.value = value;
    }
 
    public Map<String, Object> getAttributes() {
        return attributes;
    }
 
    public void setAttributes(Map<String, Object> attributes) {
        this.attributes = attributes;
    } 
    
    public void addAttr(String attr,Object attrValue){
        this.attributes.put(attr, attrValue);
    }
}