/*
 * Copyright 2014 stzoannos.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package eu.socialsensor.framework.common.domain;

import eu.socialsensor.framework.common.domain.dysco.Dysco;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 *
 * @author stzoannos
 */
public class TrendsMatcherResponse {
    
    List<Dysco> newDyscos = new ArrayList<Dysco>();
    Map<String,String> dyscoPairs = new HashMap<String,String>();

    public List<Dysco> getNewDyscos() {
        return newDyscos;
    }

    public void setNewDyscos(List<Dysco> newDyscos) {
        this.newDyscos = newDyscos;
    }

    public Map<String, String> getDyscoPairs() {
        return dyscoPairs;
    }

    public void setDyscoPairs(Map<String, String> dyscoPairs) {
        this.dyscoPairs = dyscoPairs;
    }

    public void addDyscoPair(String newDyscoId, String oldDyscoId) {
        
        dyscoPairs.put(newDyscoId, oldDyscoId);
    }
    
}

@@ -869,24 +869,29 @@
 onse %7B%0A    %0A
+    %0A
     List%3CDys
@@ -945,23 +945,29 @@
 %3CString,
+List%3C
 String%3E
+%3E
  dyscoPa
@@ -991,23 +991,29 @@
 %3CString,
+List%3C
 String%3E
+%3E
 ();%0A%0A   
@@ -1202,23 +1202,29 @@
 String, 
+List%3C
 String%3E
+%3E
  getDysc
@@ -1310,23 +1310,29 @@
 String, 
+List%3C
 String%3E
+%3E
  dyscoPa
@@ -1375,32 +1375,36 @@
 coPairs;%0A    %7D%0A%0A
+   %0A
     public void 
@@ -1435,22 +1435,28 @@
 yscoId, 
+List%3C
 String
+%3E
  oldDysc
@@ -1458,16 +1458,17 @@
 dDyscoId
+s
 ) %7B%0A    
@@ -1517,16 +1517,17 @@
 dDyscoId
+s
 );%0A    %7D

change TrendsMatcherResponse to support multiple Dysco evolution