package org.gcube.data.spd.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement @XmlAccessorType(XmlAccessType.NONE) public class KeyValue { KeyValue(){}; @XmlAttribute private String key; @XmlAttribute private String value; public KeyValue(String key, String value) { super(); this.key = key; this.value = value; } public String getKey() { return key; } public String getValue() { return value; } @Override public String toString() { return "KeyValue [key=" + key + ", value=" + value + "]"; } }