package net.jsreport.java.dto;

import java.util.List;

public class Template {

    public Template() {

    }

    public Template (String name) {
        this.name = name;
    }

    private String _id;

    /**
     * Unique 9 alfanum id
     */
    private String shortid;

    /**
     * Content of report, most often this is html with javasript templating engines
     */
    private String content;

    /**
     * Javascript helper functions in format: function a() { }; function b() { };
     * */
    private String helpers;

    /**
     * Used javascript templating engine like "jsrender" or "handlebars"
     * */
    private Engine engine;

    /**
     * Used recipe defining rendering process like "html", "phantom-pdf" or "fop"
     * */
    private Recipe recipe;

    /**
     * Readable name, does not need to be unique
     * */
    private String name;

    /**
     * Optional specification for phantom-pdf
     * */
    private Phantom phantom;

    private Chrome chrome;
    private Docx docx;
    private ChromeImage chromeImage;
    private HtmlToXlsx htmlToXlsx;
    private OfficePassword officePassword;
    private PdfMeta pdfMeta;
    private List<PdfOperation> pdfOperations;
    private PdfPassword pdfPassword;
    private PdfSign pdfSign;
    private Pptx pptx;
    private List<Script> scripts;
    private StaticPdf staticPdf;
    private Xlsx xlsx;

    public Docx getDocx() {
        return docx;
    }

    public void setDocx(Docx docx) {
        this.docx = docx;
    }

    public Chrome getChrome() {
        return chrome;
    }

    public void setChrome(Chrome chrome) {
        this.chrome = chrome;
    }

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getShortid() {
        return shortid;
    }

    public void setShortid(String shortid) {
        this.shortid = shortid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getHelpers() {
        return helpers;
    }

    public void setHelpers(String helpers) {
        this.helpers = helpers;
    }

    public Engine getEngine() {
        return engine;
    }

    public void setEngine(Engine engine) {
        this.engine = engine;
    }

    public Recipe getRecipe() {
        return recipe;
    }

    public void setRecipe(Recipe recipe) {
        this.recipe = recipe;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Phantom getPhantom() {
        return phantom;
    }

    public void setPhantom(Phantom phantom) {
        this.phantom = phantom;
    }
}

@@ -2782,11 +2782,1841 @@
 m;%0A    %7D
+%0A%0A    public ChromeImage getChromeImage() %7B%0A        return chromeImage;%0A    %7D%0A%0A    public void setChromeImage(ChromeImage chromeImage) %7B%0A        this.chromeImage = chromeImage;%0A    %7D%0A%0A    public HtmlToXlsx getHtmlToXlsx() %7B%0A        return htmlToXlsx;%0A    %7D%0A%0A    public void setHtmlToXlsx(HtmlToXlsx htmlToXlsx) %7B%0A        this.htmlToXlsx = htmlToXlsx;%0A    %7D%0A%0A    public OfficePassword getOfficePassword() %7B%0A        return officePassword;%0A    %7D%0A%0A    public void setOfficePassword(OfficePassword officePassword) %7B%0A        this.officePassword = officePassword;%0A    %7D%0A%0A    public PdfMeta getPdfMeta() %7B%0A        return pdfMeta;%0A    %7D%0A%0A    public void setPdfMeta(PdfMeta pdfMeta) %7B%0A        this.pdfMeta = pdfMeta;%0A    %7D%0A%0A    public List%3CPdfOperation%3E getPdfOperations() %7B%0A        return pdfOperations;%0A    %7D%0A%0A    public void setPdfOperations(List%3CPdfOperation%3E pdfOperations) %7B%0A        this.pdfOperations = pdfOperations;%0A    %7D%0A%0A    public PdfPassword getPdfPassword() %7B%0A        return pdfPassword;%0A    %7D%0A%0A    public void setPdfPassword(PdfPassword pdfPassword) %7B%0A        this.pdfPassword = pdfPassword;%0A    %7D%0A%0A    public PdfSign getPdfSign() %7B%0A        return pdfSign;%0A    %7D%0A%0A    public void setPdfSign(PdfSign pdfSign) %7B%0A        this.pdfSign = pdfSign;%0A    %7D%0A%0A    public Pptx getPptx() %7B%0A        return pptx;%0A    %7D%0A%0A    public void setPptx(Pptx pptx) %7B%0A        this.pptx = pptx;%0A    %7D%0A%0A    public List%3CScript%3E getScripts() %7B%0A        return scripts;%0A    %7D%0A%0A    public void setScripts(List%3CScript%3E scripts) %7B%0A        this.scripts = scripts;%0A    %7D%0A%0A    public StaticPdf getStaticPdf() %7B%0A        return staticPdf;%0A    %7D%0A%0A    public void setStaticPdf(StaticPdf staticPdf) %7B%0A        this.staticPdf = staticPdf;%0A    %7D%0A%0A    public Xlsx getXlsx() %7B%0A        return xlsx;%0A    %7D%0A%0A    public void setXlsx(Xlsx xlsx) %7B%0A        this.xlsx = xlsx;%0A    %7D
 %0A%7D%0A

add missing getters setters