Made the new query definition serializable

This commit is contained in:
Lennart Hensler committed 2014-08-07 17:37:50 +02:00
1 parent 862c03de0e
commit 4977dd4a23
2 files changed
+14 -7

No files matched your search

@@ -7,7 +7,7 @@ import java.util.Map;
import com.sap.sse.datamining.shared.components.AggregatorType;
import com.sap.sse.datamining.shared.dto.FunctionDTO;
public interface QueryDefinition {
public interface QueryDefinition extends Serializable {
public String getLocaleInfoName();
@@ -11,12 +11,19 @@ import com.sap.sse.datamining.shared.components.AggregatorType;
import com.sap.sse.datamining.shared.dto.FunctionDTO;
public class QueryDefinitionImpl implements QueryDefinition {
private final String localeInfoName;
private final Map<FunctionDTO, Iterable<? extends Serializable>> filterSelection;
private final List<FunctionDTO> dimensionsToGroupBy;
private final FunctionDTO extractionFunction;
private final AggregatorType aggregatorType;
private static final long serialVersionUID = -6438771277564908352L;
private String localeInfoName;
private Map<FunctionDTO, Iterable<? extends Serializable>> filterSelection;
private List<FunctionDTO> dimensionsToGroupBy;
private FunctionDTO extractionFunction;
private AggregatorType aggregatorType;
/**
* <b>Constructor for the GWT-Serialization. Don't use this!</b>
*/
@Deprecated
QueryDefinitionImpl() { }
public QueryDefinitionImpl(String localeInfoName, FunctionDTO extractionFunction, AggregatorType aggregatorType) {
this.localeInfoName = localeInfoName;