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

fr.profi.mzdb.db.model.params.ParamTree Maven / Gradle / Ivy

There is a newer version: 0.0.27
Show newest version
package fr.profi.mzdb.db.model.params;

import java.util.List;

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

import fr.profi.mzdb.db.model.params.param.CVParam;
import fr.profi.mzdb.db.model.params.param.UserParam;
import fr.profi.mzdb.db.model.params.param.UserText;

/**
 * The Class ParamTree.
 * 
 * @author David Bouyssie
 */
@XmlRootElement(name = "params")
public class ParamTree extends AbstractParamTree {

	public ParamTree() {
		super();
	}

	@Override
	@XmlElement(name = "cvParam", type = CVParam.class, required = false)
	@XmlElementWrapper(name = "cvParams")
	public List getCVParams() {
		return super.getCVParams();
	}

	@Override
	@XmlElement(name = "userParam", type = UserParam.class, required = false)
	@XmlElementWrapper(name = "userParams")
	public List getUserParams() {
		return super.getUserParams();
	}

	@Override
	@XmlElement(name = "userText", type = UserText.class, required = false)
	@XmlElementWrapper(name = "userTexts")
	public List getUserTexts() {
		return super.getUserTexts();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy