argos/dmp-backend/core/src/main/java/eu/eudat/commons/types/dmpblueprint/DefinitionEntity.java

28 lines
713 B
Java
Raw Normal View History

2023-10-20 18:13:57 +02:00
package eu.eudat.commons.types.dmpblueprint;
import eu.eudat.commons.types.xml.XmlBuilder;
import eu.eudat.commons.types.xml.XmlSerializable;
2023-10-27 17:46:34 +02:00
import jakarta.xml.bind.annotation.*;
2023-10-20 18:13:57 +02:00
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.util.LinkedList;
import java.util.List;
2023-10-27 17:46:34 +02:00
@XmlRootElement(name = "root")
@XmlAccessorType(XmlAccessType.FIELD)
2024-01-26 11:42:46 +01:00
public class DefinitionEntity {
2023-10-27 17:46:34 +02:00
@XmlElementWrapper(name = "sections")
@XmlElement(name = "section")
2023-10-20 18:13:57 +02:00
private List<SectionEntity> sections;
public List<SectionEntity> getSections() {
return sections;
}
public void setSections(List<SectionEntity> sections) {
this.sections = sections;
}
}