/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package hr.algebra.model;

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

/**
 *
 * @author dnlbe
 */
@XmlRootElement(name = "paperarchive")
@XmlAccessorType(XmlAccessType.FIELD)
public class PaperArchive {
    
    @XmlElementWrapper
    @XmlElement(name = "paper")
    private List<Paper> papers;

    public PaperArchive() {
    }

    public PaperArchive(List<Paper> papers) {
        this.papers = papers;
    }

    public List<Paper> getPapers() {
        return papers;
    }

}
