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 + '}';
|
}
|
|
}
|