aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/Message.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-06 23:02:14 +0300
committerGravatar Vitaly Takmazov2018-10-06 23:02:14 +0300
commit0b065e1e0547885294d03df54d178587d801a15a (patch)
treecde84364a49e507be61a785e0596489385a511ff /juick-common/src/main/java/com/juick/Message.java
parent4b7702d846c281459433cf51dab5669fb3466b12 (diff)
store external reply uri
Diffstat (limited to 'juick-common/src/main/java/com/juick/Message.java')
-rw-r--r--juick-common/src/main/java/com/juick/Message.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/Message.java b/juick-common/src/main/java/com/juick/Message.java
index 212cb2fa..de419b9b 100644
--- a/juick-common/src/main/java/com/juick/Message.java
+++ b/juick-common/src/main/java/com/juick/Message.java
@@ -25,6 +25,7 @@ import org.apache.commons.lang3.builder.ToStringBuilder;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import java.net.URI;
import java.time.Instant;
import java.util.ArrayList;
import java.util.HashSet;
@@ -75,6 +76,7 @@ public class Message implements Comparable {
@XmlTransient
private Set<Reaction> reactions;
private boolean service;
+ private URI replyUri;
private Set<String> recommendations;
@@ -347,4 +349,12 @@ public class Message implements Comparable {
public void setUpdatedAt(Instant updatedAt) {
this.updatedAt = updatedAt;
}
+
+ public URI getReplyUri() {
+ return replyUri;
+ }
+
+ public void setReplyUri(URI replyUri) {
+ this.replyUri = replyUri;
+ }
}