*/
public class PostShell extends Post implements Shell<Post> {
+ /** The shell creator. */
+ public static final ShellCreator<Post> creator = new ShellCreator<Post>() {
+
+ @Override
+ public Shell<Post> createShell() {
+ return new PostShell();
+ }
+ };
+
/** The GUID of the post. */
private UUID id;
*/
public class ReplyShell extends Reply implements Shell<Reply> {
+ /** The shell creator. */
+ public static final ShellCreator<Reply> creator = new ShellCreator<Reply>() {
+
+ @Override
+ public Shell<Reply> createShell() {
+ return new ReplyShell();
+ }
+ };
+
/** The Sone that posted this reply. */
private Sone sone;
*/
public class SoneShell extends Sone implements Shell<Sone> {
+ /** The shell creator. */
+ public static final ShellCreator<Sone> creator = new ShellCreator<Sone>() {
+
+ @Override
+ public Shell<Sone> createShell() {
+ return new SoneShell();
+ }
+ };
+
/** A GUID for this Sone. */
private UUID id;