+ /** The replies that have been loaded for this post. */
+ private final Set<Reply> replies = new HashSet<Reply>();
+
+ /**
+ * Creates a new post.
+ *
+ * @param sone
+ * The Sone this post belongs to
+ * @param text
+ * The text of the post
+ */
+ public Post(Sone sone, String text) {
+ this(sone, System.currentTimeMillis(), text);
+ }
+
+ /**
+ * Creates a new 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(Sone sone, long time, String text) {
+ this(UUID.randomUUID(), sone, time, text);
+ }
+