aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-02-03 02:13:17 +0300
committerGravatar Vitaly Takmazov2023-02-03 03:39:43 +0300
commit22aaf28c779725962a3ebec3e689bef35fe05085 (patch)
tree71e05ad64efc73dff7ba3d6688a567493bc88c09 /src/main/java/com/juick/model
parentd71ce6095b87958d2df4da27b1344ad0e5b77a44 (diff)
GetTagNoIndex -> tag.isNotIndexed
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;
+ }
}