diff options
Diffstat (limited to 'src/main/java/com/juick/model')
-rw-r--r-- | src/main/java/com/juick/model/Tag.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/com/juick/model/Tag.java b/src/main/java/com/juick/model/Tag.java index 64469a69..9ddda315 100644 --- a/src/main/java/com/juick/model/Tag.java +++ b/src/main/java/com/juick/model/Tag.java @@ -45,6 +45,10 @@ public class Tag implements Comparable<Tag>, Serializable { private boolean noindex; @XmlTransient private boolean notop; + @XmlTransient + private boolean subscribed; + @XmlTransient + private boolean ignored; public Tag() { // required for (de)serialization @@ -108,4 +112,20 @@ public class Tag implements Comparable<Tag>, Serializable { public void setHiddenFromTop(boolean notop) { this.notop = notop; } + + public boolean isSubscribed() { + return subscribed; + } + + public void setSubscribed(boolean subscribed) { + this.subscribed = subscribed; + } + + public boolean isIgnored() { + return ignored; + } + + public void setIgnored(boolean ignored) { + this.ignored = ignored; + } } |