/* * Copyright (C) 2011 Interactive Media Management. All Rights Reserved. * * NOTICE: All information contained herein is, and remains the property of * INTERACTIVE MEDIA MANAGEMENT and its suppliers, if any. The intellectual * and technical concepts contained herein are proprietary to INTERACTIVE MEDIA * MANAGEMENT and its suppliers and may be covered by Danish and Foreign * Patents, patents in process, and are protected by trade secret or copyright * law. Dissemination of this information or reproduction of this material * is strictly forbidden unless prior written permission is obtained from * INTERACTIVE MEDIA MANAGEMENT. */ package dk.i2m.converge.ws.model; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.xml.bind.annotation.XmlRootElement; /** * * @author Allan Lykke Christensen */ @XmlRootElement public class Edition implements Serializable { private Long id; private Date publicationDate; private Date expirationDate; private Date closeDate; private List<NewsItem> items = new ArrayList<NewsItem>(); public Edition() { } public Date getCloseDate() { return closeDate; } public void setCloseDate(Date closeDate) { this.closeDate = closeDate; } public Date getExpirationDate() { return expirationDate; } public void setExpirationDate(Date expirationDate) { this.expirationDate = expirationDate; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public List<NewsItem> getItems() { return items; } public void setItems(List<NewsItem> items) { this.items = items; } public Date getPublicationDate() { return publicationDate; } public void setPublicationDate(Date publicationDate) { this.publicationDate = publicationDate; } }