package eu.dnetlib.efg1914.various.managers.components;

import java.util.ArrayList;
import java.util.List;

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

import eu.dnetlib.efg1914.authoring.components.Theme;
import eu.dnetlib.efg1914.various.utils.Frames;

@XmlRootElement
public class ThemePage {

    private Theme theme = null;
    private List<Frames> frames = new ArrayList<Frames>();
    private List<Theme> collection = new ArrayList<Theme>();

    public Theme getTheme() {
        return theme;
    }

    public void setTheme(Theme theme) {
        this.theme = theme;
    }

    @XmlElementWrapper(name = "frames")
    @XmlElement(name = "frame")
    public List<Frames> getFrames() {
        return frames;
    }

    public void setFrames(List<Frames> frames) {
        this.frames = frames;
    }


    @XmlElementWrapper(name = "collections")
    @XmlElement(name = "collection")
    public List<Theme> getCollection() {
        return collection;
    }


    public void setCollection(List<Theme> collection) {
        this.collection = collection;
    }

}
