net.spy.digg.parsers
Class CommentImpl

java.lang.Object
  extended by net.spy.digg.parsers.EventImpl
      extended by net.spy.digg.parsers.CommentImpl
All Implemented Interfaces:
java.io.Serializable, Comment, Event

public class CommentImpl
extends EventImpl
implements Comment, java.io.Serializable

Comment implementation.

See Also:
Serialized Form

Method Summary
 java.lang.String getComment()
          Get the comment text.
 int getDiggsDown()
          Get the number of diggs down.
 int getDiggsUp()
          Get the number of diggs up.
 java.lang.Integer getLevel()
          The level of the comment within the thread.
 java.lang.Integer getReplyId()
          Get the ID of the comment to which this comment is in response.
 java.lang.Integer getRoot()
          The root comment ID.
 java.lang.String toString()
           
 
Methods inherited from class net.spy.digg.parsers.EventImpl
getEventId, getStatus, getStoryId, getTimestamp, getUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.spy.digg.Event
getEventId, getStatus, getStoryId, getTimestamp, getUser
 

Method Detail

getComment

public java.lang.String getComment()
Description copied from interface: Comment
Get the comment text.

Specified by:
getComment in interface Comment

getDiggsDown

public int getDiggsDown()
Description copied from interface: Comment
Get the number of diggs down.

Specified by:
getDiggsDown in interface Comment

getDiggsUp

public int getDiggsUp()
Description copied from interface: Comment
Get the number of diggs up.

Specified by:
getDiggsUp in interface Comment

getReplyId

public java.lang.Integer getReplyId()
Description copied from interface: Comment
Get the ID of the comment to which this comment is in response.

Specified by:
getReplyId in interface Comment

getLevel

public java.lang.Integer getLevel()
Description copied from interface: Comment
The level of the comment within the thread.

Specified by:
getLevel in interface Comment

getRoot

public java.lang.Integer getRoot()
Description copied from interface: Comment
The root comment ID.

Specified by:
getRoot in interface Comment

toString

public java.lang.String toString()
Overrides:
toString in class EventImpl