|  1 |     | 
     | 
  |  2 |     | 
     | 
  |  3 |     | 
     | 
  |  4 |     | 
     | 
  |  5 |     | 
     | 
  |  6 |     | 
     | 
  |  7 |     | 
     | 
  |  8 |     | 
     | 
  |  9 |     | 
     | 
  |  10 |     | 
     | 
  |  11 |     | 
     | 
  |  12 |     | 
     | 
  |  13 |     | 
     | 
  |  14 |     | 
     | 
  |  15 |     | 
     | 
  |  16 |     | 
   package org.kuali.rice.core.jaxb;  | 
  |  17 |     | 
     | 
  |  18 |     | 
   import java.io.Serializable;  | 
  |  19 |     | 
   import java.util.Map;  | 
  |  20 |     | 
     | 
  |  21 |     | 
   import javax.xml.bind.annotation.XmlAccessType;  | 
  |  22 |     | 
   import javax.xml.bind.annotation.XmlAccessorType;  | 
  |  23 |     | 
   import javax.xml.bind.annotation.XmlAttribute;  | 
  |  24 |     | 
   import javax.xml.bind.annotation.XmlElement;  | 
  |  25 |     | 
   import javax.xml.bind.annotation.XmlType;  | 
  |  26 |     | 
     | 
  |  27 |     | 
     | 
  |  28 |     | 
     | 
  |  29 |     | 
     | 
  |  30 |     | 
     | 
  |  31 |     | 
     | 
  |  32 |     | 
     | 
  |  33 |     | 
     | 
  |  34 |     | 
     | 
  |  35 |     | 
     | 
  |  36 |     | 
   @XmlAccessorType(XmlAccessType.NONE)  | 
  |  37 |     | 
   @XmlType(name = "StringMapEntryType")  | 
  |  38 |     | 
   public final class StringMapEntry implements Serializable { | 
  |  39 |     | 
             | 
  |  40 |     | 
           private static final long serialVersionUID = -9609663434312103L;  | 
  |  41 |     | 
     | 
  |  42 |     | 
           @XmlAttribute (name = "key")  | 
  |  43 |     | 
           private final String key;  | 
  |  44 |     | 
             | 
  |  45 |     | 
           @XmlElement(name = "value", required=true)  | 
  |  46 |     | 
           private final String value;  | 
  |  47 |     | 
             | 
  |  48 |     | 
             | 
  |  49 |     | 
     | 
  |  50 |     | 
     | 
  |  51 |     | 
           @SuppressWarnings("unused") | 
  |  52 |    0 |            private StringMapEntry() { | 
  |  53 |    0 |                    this.key = null;  | 
  |  54 |    0 |                    this.value = null;  | 
  |  55 |    0 |            }  | 
  |  56 |     | 
             | 
  |  57 |    0 |            public StringMapEntry(String key, String value) { | 
  |  58 |    0 |                this.key = key;  | 
  |  59 |    0 |                this.value = value;  | 
  |  60 |    0 |            }  | 
  |  61 |     | 
     | 
  |  62 |    0 |            public StringMapEntry(Map.Entry<String, String> e) { | 
  |  63 |    0 |                this.key = e.getKey();  | 
  |  64 |    0 |                this.value = e.getValue();  | 
  |  65 |    0 |            }  | 
  |  66 |     | 
     | 
  |  67 |     | 
           public String getKey() { | 
  |  68 |    0 |                    return this.key;  | 
  |  69 |     | 
           }  | 
  |  70 |     | 
     | 
  |  71 |     | 
           public String getValue() { | 
  |  72 |    0 |                    return this.value;  | 
  |  73 |     | 
           }  | 
  |  74 |     | 
             | 
  |  75 |     | 
   }  |