package eu.eudat.file.transformer.entities.descriptiontemplate.importexport; import jakarta.xml.bind.annotation.*; import java.util.List; import java.util.UUID; @XmlRootElement(name = "root") @XmlAccessorType(XmlAccessType.FIELD) public class DescriptionTemplateImportExport { @XmlAttribute(name = "description") private String description; @XmlAttribute(name = "language") private String language; @XmlAttribute(name = "type") private UUID type; @XmlElementWrapper(name = "pages") @XmlElement(name = "page") private List pages; public List getPages() { return pages; } public void setPages(List pages) { this.pages = pages; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getLanguage() { return language; } public void setLanguage(String language) { this.language = language; } public UUID getType() { return type; } public void setType(UUID type) { this.type = type; } }