title: Serialization of a Map
body: <p>I have a a class that its like a wrapper for a map. It is a property list, mostly use for the sake of the name it looks like the following:</p>
  
  <pre><code>public class MyPropertyList implements Serializable
  {
      private static final long serialVersionUID =  7896123434L;
  
      private LinkedHashMap&lt;String,String&gt; map;
  
      public static final String key1 = "key1";
  
      public static final String key2 = "key2";
  
      //More key values 
  
      public MyPropertyList(){
          map = new LinkedHashMap&lt;String,String&gt;();
  
     }
  
      public void addProperty(String key, String value){
         map.put(key,value);
      }
  
      public LinkedHashMap&lt;String,String&gt; getMapping(){
          return map;
      }
  
      public int getSize(){
         return map.size;
      }
  
       //...Other delegated calls
  }
  </code></pre>
  
  <p>It it a bad design? Does it present any issues? Is there a better design for that fulfills this purpose?</p>