+ //
+ // PART METHODS
+ //
+
+ @Override
+ public String getText() {
+ return post.getText();
+ }
+
+ @Override
+ public int hashCode() {
+ return getPost().hashCode();
+ }
+
+ @Override
+ public boolean equals(Object object) {
+ if (!(object instanceof PostPart)) {
+ return false;
+ }
+ PostPart postPart = (PostPart) object;
+ return equal(getPost(), postPart.getPost());
+ }
+