All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.loicoudot.java4cpp.configuration.Templates Maven / Gradle / Ivy

package com.github.loicoudot.java4cpp.configuration;

import static com.github.loicoudot.java4cpp.Utils.newArrayList;

import java.util.List;

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

@XmlRootElement
@XmlType(propOrder = { "globalTemplates", "datatypes", "copyFiles" })
public final class Templates {
    private final List globalTemplates = newArrayList();
    private final List copyFiles = newArrayList();
    private Datatypes datatypes = new Datatypes();

    @XmlElementWrapper
    @XmlElement(name = "globalTemplate")
    public List getGlobalTemplates() {
        return globalTemplates;
    }

    @XmlElementWrapper
    @XmlElement(name = "copyFile")
    public List getCopyFiles() {
        return copyFiles;
    }

    public Datatypes getDatatypes() {
        return datatypes;
    }

    public void setDatatypes(Datatypes datatypes) {
        this.datatypes = datatypes;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy