Use a unique ID for posts
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Post.java
index 95abae6..d27d243 100644 (file)
@@ -62,6 +62,7 @@ public interface Post extends Identified {
         * @return The ID of the post
         */
        public String getId();
+       String getInternalId();
 
        /**
         * Returns whether this post has already been loaded.
@@ -144,6 +145,11 @@ public interface Post extends Identified {
                }
 
                @Override
+               public String getInternalId() {
+                       return id;
+               }
+
+               @Override
                public boolean isLoaded() {
                        return false;
                }