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

fr.inria.gforge.spoon.SpoonModel Maven / Gradle / Ivy

There is a newer version: 3.8.0
Show newest version
package fr.inria.gforge.spoon;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;

/**
 * Simple class to store data loaded from XML config file
 */
@XmlType(name = "spoonModel")
@XmlRootElement(name = "spoonModel")
public class SpoonModel {
	private List templates;
	private List processors;
	private String fileGenerator;

	public String getFileGenerator() {
		return fileGenerator;
	}

	@XmlElement(name = "fileGenerator")
	public void setFileGenerator(String fileGenerator) {
		this.fileGenerator = fileGenerator;
	}

	public List getProcessors() {
		return processors;
	}

	@XmlElementWrapper(name = "processors")
	@XmlElement(name = "processor")
	public void setProcessors(List processors) {
		this.processors = processors;
	}

	public List getTemplates() {
		return templates;
	}

	@XmlElementWrapper(name = "templates")
	@XmlElement(name = "template")
	public void setTemplates(List templates) {
		this.templates = templates;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy