package org.slc.sli.api.representation;

import java.util.HashMap;

/**
 * Contents of Home resource, for use in XML return
 */
public class Home extends HashMap<String, Object> {
    
    private static final long serialVersionUID = -8766900333518618999L;

    public Home(HashMap<String, Object> linksMap, String entityCollectionName) {
        super();
        this.put(entityCollectionName, linksMap);
    }
}

@@ -59,16 +59,44 @@
 HashMap;
+%0Aimport java.util.Map.Entry;
 %0A%0A/**%0A *
@@ -149,16 +149,91 @@
 urn%0A */%0A
+//public class Home extends MutablePair%3CString, HashMap%3CString, Object%3E%3E %7B%0A
 public c
@@ -370,16 +370,45 @@
 ic Home(
+String entityCollectionName, 
 HashMap%3C
@@ -435,17 +435,46 @@
 sMap
-, String 
+) %7B%0A        super();%0A        this.put(
 enti
@@ -493,67 +493,319 @@
 Name
-) %7B
+, linksMap);
 %0A    
+%7D%0A%0A
     
-super();%0A        this.put(entityCollectionName,
+public HashMap%3CString, Object%3E getLinksMap() %7B%0A        Entry%3CString, Object%3E collectionEntry = this.entrySet().iterator().next();%0A        @SuppressWarnings (value=%22unchecked%22)%0A        HashMap%3CString, Object%3E linksMap = (HashMap%3CString, Object%3E) collectionEntry.getValue();%0A        return
  lin
@@ -801,27 +801,26 @@
  return linksMap
-)
 ;%0A    %7D%0A%7D%0A

change order of parameters to more logical representation. Add function to get linksMap.