package org.slc.sli.domain;

import java.util.Map;

public interface Entity {
    
    String getType();
    
    String getId();
    
    Map<String, Object> getBody();
    
}

@@ -53,95 +53,582 @@
 %0D%0A%0D%0A
-public interface Entity %7B%0D%0A    %0D%0A    String getType();%0D%0A    %0D%0A    String getId();%0D%0A    
+/**%0D%0A * Define the entity interface that provides getter method to retrieve the fields%0D%0A * for entities including core entities and association entities%0D%0A * %0D%0A * @author Dong Liu dliu@wgen.net%0D%0A * %0D%0A */%0D%0Apublic interface Entity %7B%0D%0A    %0D%0A    /**%0D%0A     * @return the entity type as string, can be entity type for%0D%0A     *            core entity or association entity%0D%0A     */%0D%0A    String getType();%0D%0A    %0D%0A    /**%0D%0A     * @return the global unique id of the entity as string%0D%0A     */%0D%0A    String getId();%0D%0A    %0D%0A    /**%0D%0A     * @return the entity body wrapped by a map%0D%0A     */
 %0D%0A  

add java doc for entity interface