com.aetrion.flickr.photos.comments
Class Comment

java.lang.Object
  extended by com.aetrion.flickr.photos.comments.Comment

public class Comment
extends java.lang.Object

Encapsulated Photo comments.

Version:
$Id: Comment.java,v 1.2 2009/07/12 22:43:07 x-mago Exp $
Author:
till (Kill Krech) flickr:extranoise

Constructor Summary
Comment()
           
 
Method Summary
 java.lang.String getAuthor()
           
 java.lang.String getAuthorName()
           
 java.util.Date getDateCreate()
           
 java.lang.String getId()
           
 java.lang.String getPermaLink()
           
 java.lang.String getText()
           
 void setAuthor(java.lang.String author)
          Set the nsis of the comment author.
 void setAuthorName(java.lang.String authorName)
          Sets the commment author name.
 void setDateCreate(java.util.Date dateCreate)
          Sets the date when the comment was created.
 void setId(java.lang.String id)
          Sets the unique id of the comment.
 void setPermaLink(java.lang.String permaLink)
          sets the link to the comment on the photo page.
 void setText(java.lang.String text)
          sets the comment text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Comment

public Comment()
Method Detail

getAuthor

public java.lang.String getAuthor()
Returns:
the nsid of the comment author

setAuthor

public void setAuthor(java.lang.String author)
Set the nsis of the comment author. Not to be called from user code. Will be set by querying flickr.

Parameters:
author - nsid of the user

getAuthorName

public java.lang.String getAuthorName()
Returns:
the name of the author of the comment

setAuthorName

public void setAuthorName(java.lang.String authorName)
Sets the commment author name. Not to be called from user code. Will be set by querying flickr.

Parameters:
authorName -

getDateCreate

public java.util.Date getDateCreate()
Returns:
the date, when the comment was created

setDateCreate

public void setDateCreate(java.util.Date dateCreate)
Sets the date when the comment was created. Not to be called from user code. Will be set by querying flickr.

Parameters:
dateCreate - date,when the comment was created

getId

public java.lang.String getId()
Returns:
the unique comment id

setId

public void setId(java.lang.String id)
Sets the unique id of the comment. Not to be called from user code. Will be set by querying flickr.

Parameters:
id - unique comment id

getPermaLink

public java.lang.String getPermaLink()
Returns:
a link to the comment on the photo page.

setPermaLink

public void setPermaLink(java.lang.String permaLink)
sets the link to the comment on the photo page. Not to be called from user code. Will be set by querying flickr.


getText

public java.lang.String getText()
Returns:
the text of the comment with possible HTML markup. Not to be called from user code. Will be set by querying flickr.

setText

public void setText(java.lang.String text)
sets the comment text.

Parameters:
text -


Copyright (C) 2005-2008 Aetrion LLC. All Rights Reserved.