Package com.inspiresoftware.lib.dto.geda.examples.blog.domain

Examples of com.inspiresoftware.lib.dto.geda.examples.blog.domain.UserEntryReply


        final UserEntry entry = bob.createEntry();
        entry.setTitle("GeDA");
        entry.setBody("Hey all, This GeDA stuff really works!!!");

        final User john = dao.create("John");
        final UserEntryReply reply = entry.createReply(john);
        reply.getReplyEntry().setBody("Awesome!");

    }
View Full Code Here


    public void setReplies(final Collection<UserEntryReply> replies) {
        this.replies = replies;
    }

    public UserEntryReply createReply(final User replier) {
        final UserEntryReply reply = new UserEntryReplyImpl(this, replier);
        replies.add(reply);
        return reply;
    }
View Full Code Here

TOP

Related Classes of com.inspiresoftware.lib.dto.geda.examples.blog.domain.UserEntryReply

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.