From 22aaf28c779725962a3ebec3e689bef35fe05085 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 3 Feb 2023 02:13:17 +0300 Subject: GetTagNoIndex -> tag.isNotIndexed --- src/main/java/com/juick/model/Tag.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/main/java/com/juick/model') 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, 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, 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; + } } -- cgit v1.2.3