Files
Athou_commafeed/src/main/java/com/commafeed/frontend/model/Subscription.java

69 lines
1.2 KiB
Java
Raw Normal View History

2013-03-23 16:17:19 +01:00
package com.commafeed.frontend.model;
2013-03-22 09:29:30 +01:00
import java.io.Serializable;
2013-04-15 14:47:37 +02:00
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
2013-03-25 12:24:00 +01:00
@SuppressWarnings("serial")
2013-04-15 14:47:37 +02:00
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Subscription implements Serializable {
2013-03-22 09:29:30 +01:00
private Long id;
private String name;
2013-03-25 12:24:00 +01:00
private String message;
2013-04-09 10:39:02 +02:00
private int errorCount;
2013-04-03 15:53:57 +02:00
private String feedUrl;
2013-04-06 17:21:48 +02:00
private long unread;
2013-03-22 09:29:30 +01:00
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
2013-04-06 17:21:48 +02:00
public long getUnread() {
2013-03-22 09:29:30 +01:00
return unread;
}
2013-04-06 17:21:48 +02:00
public void setUnread(long unread) {
2013-03-22 09:29:30 +01:00
this.unread = unread;
}
2013-03-25 12:24:00 +01:00
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
2013-04-03 15:53:57 +02:00
public String getFeedUrl() {
return feedUrl;
}
public void setFeedUrl(String feedUrl) {
this.feedUrl = feedUrl;
}
2013-04-09 10:39:02 +02:00
public int getErrorCount() {
return errorCount;
}
public void setErrorCount(int errorCount) {
this.errorCount = errorCount;
}
2013-03-22 09:29:30 +01:00
}