package net.ontopia.presto.jaxb;

import java.util.Collection;

import javax.xml.bind.annotation.XmlRootElement;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

@XmlRootElement
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class TopicPartial {
    private String format = "topic-partial";
    private Collection<TopicView> views;

    public Collection<TopicView> getViews() {
        return views;
    }

    public void setViews(Collection<TopicView> views) {
        this.views = views;
    }

    public String getFormat() {
        return format;
    }
    
    public void setFormat(String format) {
        this.format = format;
    }

}

@@ -55,16 +55,38 @@
 lection;
+%0Aimport java.util.Map;
 %0A%0Aimport
@@ -448,16 +448,56 @@
 rtial%22;%0A
+    private Map%3CString, Object%3E params;%0A
     priv
@@ -801,24 +801,24 @@
 g format) %7B%0A
-
         this
@@ -842,10 +842,178 @@
 %0A    %7D%0A%0A
+    public Map%3CString, Object%3E getParams() %7B%0A        return params;%0A    %7D%0A%0A    public void setParams(Map%3CString, Object%3E params) %7B%0A        this.params = params;%0A    %7D%0A%0A
 %7D%0A

Add params to topic partial