org.apache.aries.samples.blog.api.comment.persistence
Interface Comment


public interface Comment


Method Summary
 Author getAuthor()
          Get the author of the comment
 String getComment()
          Get comment
 Date getCreationDate()
          Get the creation date for the comment
 Entry getEntry()
          Get the parent blog post for the comment
 int getId()
          Get the Id value of the comment
 

Method Detail

getComment

String getComment()
Get comment

Returns:
the String representing the comment

getAuthor

Author getAuthor()
Get the author of the comment

Returns:
the BlogAuthor instance

getEntry

Entry getEntry()
Get the parent blog post for the comment

Returns:
the BlogPost instance the comment is attached to.

getId

int getId()
Get the Id value of the comment

Returns:
the integer id of the comment

getCreationDate

Date getCreationDate()
Get the creation date for the comment

Returns:
the String representation of the date the comment was created in dd-mm-yyyy format.


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.