projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Return ID of the post from post reply.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
PostReply.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/PostReply.java
b/src/main/java/net/pterodactylus/sone/data/PostReply.java
index
4c7c8d3
..
8dc6f93
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/PostReply.java
+++ b/
src/main/java/net/pterodactylus/sone/data/PostReply.java
@@
-26,6
+26,13
@@
package net.pterodactylus.sone.data;
public interface PostReply extends Reply<PostReply> {
/**
public interface PostReply extends Reply<PostReply> {
/**
+ * Returns the ID of the post this reply refers to.
+ *
+ * @return The ID of the post this reply refers to
+ */
+ public String getPostId();
+
+ /**
* Returns the post this reply refers to.
*
* @return The post this reply refers to
* Returns the post this reply refers to.
*
* @return The post this reply refers to
@@
-35,10
+42,10
@@
public interface PostReply extends Reply<PostReply> {
/**
* Sets the post this reply refers to.
*
/**
* Sets the post this reply refers to.
*
- * @param post
- * The
post this reply refers
to
+ * @param post
Id
+ * The
ID of the post to reply
to
* @return This reply
*/
* @return This reply
*/
- public PostReply setPost(
Post post
);
+ public PostReply setPost(
String postId
);
-}
\ No newline at end of file
+}