org.apache.aries.samples.blog.api
Interface BlogComment


public interface BlogComment


Method Summary
 BlogAuthor getAuthor()
          Get the author of the comment
 String getComment()
          Get comment
 String getCommentCreationDate()
          Get the creation date for the comment
 BlogEntry 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

BlogAuthor getAuthor()
Get the author of the comment

Returns:
the BlogAuthor instance

getEntry

BlogEntry 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

getCommentCreationDate

String getCommentCreationDate()
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.