package org.slc.sli.api.representation;

import java.util.HashMap;

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

    public Entities(EntityBody entityBody, String entityCollectionName) {
        super();
        this.put(entityCollectionName, entityBody);
    }
}

@@ -59,16 +59,44 @@
 HashMap;
+%0Aimport java.util.Map.Entry;
 %0A%0A/**%0A *
@@ -302,117 +302,435 @@
 ies(
-EntityBody entityBody, String entityCollectionName) %7B%0A        super();%0A        this.put(entityCollectionName,
+String entityCollectionName, EntityBody entityBody) %7B%0A        super();%0A        this.put(entityCollectionName, entityBody);%0A    %7D%0A%0A    public HashMap%3CString, Object%3E getEntityBody() %7B%0A        Entry%3CString, Object%3E entityCollection = this.entrySet().iterator().next();%0A        @SuppressWarnings (value=%22unchecked%22)%0A        HashMap%3CString, Object%3E entityBody = (HashMap%3CString, Object%3E) entityCollection.getValue();%0A        return
  ent
@@ -728,27 +728,26 @@
 eturn entityBody
-)
 ;%0A    %7D%0A%7D%0A

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