aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/model')
-rw-r--r--src/main/java/com/juick/model/Tag.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/com/juick/model/Tag.java b/src/main/java/com/juick/model/Tag.java
index b27fe7e6..64469a69 100644
--- a/src/main/java/com/juick/model/Tag.java
+++ b/src/main/java/com/juick/model/Tag.java
@@ -41,6 +41,10 @@ public class Tag implements Comparable<Tag>, Serializable {
private int id;
@XmlTransient
private int synonymId;
+ @XmlTransient
+ private boolean noindex;
+ @XmlTransient
+ private boolean notop;
public Tag() {
// required for (de)serialization
@@ -92,4 +96,16 @@ public class Tag implements Comparable<Tag>, Serializable {
public void setSynonymId(int synonymId) {
this.synonymId = synonymId;
}
+ public boolean isNotIndexed() {
+ return noindex;
+ }
+ public void setNotIndexed(boolean noindex) {
+ this.noindex = noindex;
+ }
+ public boolean isHiddenFromTop() {
+ return notop;
+ }
+ public void setHiddenFromTop(boolean notop) {
+ this.notop = notop;
+ }
}