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);
|
}
|
}
|