Adding UI extensibility
[aai/sparky-be.git] / src / main / java / org / onap / aai / sparky / sync / entity / AggregationEntity.java
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.onap.aai.sparky.synchronizer.entity;
+package org.onap.aai.sparky.sync.entity;
 
 import java.util.HashMap;
 import java.util.Map;
 
-import org.onap.aai.sparky.config.oxm.OxmModelLoader;
 import org.onap.aai.sparky.util.NodeUtils;
 
 import com.fasterxml.jackson.databind.ObjectMapper;
@@ -45,19 +44,10 @@ public class AggregationEntity extends IndexableEntity implements IndexDocument
     super();
   }
 
-  /**
-   * Instantiates a new aggregation entity.
-   *
-   * @param loader the loader
-   */
-  public AggregationEntity(OxmModelLoader loader) {
-    super(loader);
-  }
-
   /*
    * (non-Javadoc)
    * 
-   * @see org.onap.aai.sparky.synchronizer.entity.IndexDocument#deriveFields()
+   * @see org.openecomp.sparky.synchronizer.entity.IndexDocument#deriveFields()
    */
   @Override
   public void deriveFields() {
@@ -86,7 +76,7 @@ public class AggregationEntity extends IndexableEntity implements IndexDocument
   }
 
   @Override
-  public String getIndexDocumentJson() {
+  public String getAsJson() {
     ObjectNode rootNode = mapper.createObjectNode();
     rootNode.put("link", this.getLink());
     rootNode.put("lastmodTimestamp", this.getEntityTimeStamp());
@@ -96,40 +86,6 @@ public class AggregationEntity extends IndexableEntity implements IndexDocument
     return rootNode.toString();
   }
 
-  /**
-   * @return the attributes
-   */
-  public Map<String, String> getAttributes() {
-    return attributes;
-  }
-
-  /**
-   * @param attributes the attributes to set
-   */
-  public void setAttributes(Map<String, String> attributes) {
-    this.attributes = attributes;
-  }
-
-  /**
-   * @return the mapper
-   */
-  public ObjectMapper getMapper() {
-    return mapper;
-  }
-
-  /**
-   * @param mapper the mapper to set
-   */
-  public void setMapper(ObjectMapper mapper) {
-    this.mapper = mapper;
-  }
-
-  @Override
-  public ObjectNode getBulkImportEntity() {
-    // TODO Auto-generated method stub
-    return null;
-  }
-
   /*
    * (non-Javadoc)
    *