package eionet.webq.dto;

/*
 * The contents of this file are subject to the Mozilla Public
 * License Version 1.1 (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.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 * implied. See the License for the specific language governing
 * rights and limitations under the License.
 *
 * The Original Code is Web Questionnaires 2
 *
 * The Initial Owner of the Original Code is European Environment
 * Agency. Portions created by TripleDev are Copyright
 * (C) European Environment Agency.  All Rights Reserved.
 *
 * Contributor(s):
 *        Anton Dmitrijev
 */

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Class represents conversion for xml schema.
 */
@XmlRootElement(name = "conversion")
public class Conversion {
    /**
     * Conversion id or xsl name.
     */
    @XmlElement(name = "convert_id")
    private String id;
    /**
     * Conversion output type.
     */
    @XmlElement(name = "content_type_out")
    private String outputType;
    /**
     * Xml schema for which this conversion is valid.
     */
    @XmlElement(name = "xml_schema")
    private String xmlSchema;
    /**
     * Xsl file name.
     */
    @XmlElement(name = "xsl")
    private String xslName;
    /**
     * Resulting type (e.g. HTML, RDF).
     */
    @XmlElement(name = "result_type")
    private String resultType;
    /**
     * Description of this conversion.
     */
    @XmlElement(name = "description")
    private String description;

    public String getId() {
        return id;
    }

    public String getOutputType() {
        return outputType;
    }

    public String getXmlSchema() {
        return xmlSchema;
    }

    public String getXslName() {
        return xslName;
    }

    public String getResultType() {
        return resultType;
    }

    public String getDescription() {
        return description;
    }
}

@@ -1,30 +1,4 @@
-package eionet.webq.dto;%0A%0A
 /*%0A 
@@ -760,16 +760,41 @@
 ijev%0A */
+%0Apackage eionet.webq.dto;
 %0A%0Aimport
@@ -1129,915 +1129,164 @@
   * 
-Conversion output type.%0A     */%0A    @XmlElement(name = %22content_type_out%22)%0A    private String outputType;%0A    /**%0A     * Xml schema for which this conversion is valid.%0A     */%0A    @XmlElement(name = %22xml_schema%22)%0A    private String xmlSchema;%0A    /**%0A     * Xsl file name.%0A     */%0A    @XmlElement(name = %22xsl%22)%0A    private String xslName;%0A    /**%0A     * Resulting type (e.g. HTML, RDF).%0A     */%0A    @XmlElement(name = %22result_type%22)%0A    private String resultType;%0A    /**%0A     * Description of this conversion.%0A     */%0A    @XmlElement(name = %22description%22)%0A    private String description;%0A%0A    public String getId() %7B%0A        return id;%0A    %7D%0A%0A    public String getOutputType() %7B%0A        return outputType;%0A    %7D%0A%0A    public String getXmlSchema() %7B%0A        return xmlSchema;%0A    %7D%0A%0A    public String getXslName() %7B%0A        return xslName;%0A    %7D%0A%0A    public String getResultType() %7B%0A        return resultType
+Description of this conversion.%0A     */%0A    @XmlElement(name = %22description%22)%0A    private String description;%0A%0A    public String getId() %7B%0A        return id
 ;%0A  

remove not used conversion data.