+ public Post(Sone sone, long time, String text) {
+ this(UUID.randomUUID().toString(), sone, time, text);
+ }
+
+ /**
+ * Creates a new post.
+ *
+ * @param id
+ * The ID of the post
+ * @param sone
+ * The Sone this post belongs to
+ * @param time
+ * The time of the post (in milliseconds since Jan 1, 1970 UTC)
+ * @param text
+ * The text of the post
+ */
+ public Post(String id, Sone sone, long time, String text) {
+ this.id = UUID.fromString(id);
+ this.sone = sone;