org.eclipse.egit.github.core
Class Comment

java.lang.Object
  extended by org.eclipse.egit.github.core.Comment
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CommitComment

public class Comment
extends Object
implements Serializable

GitHub Issue and Gist comment class.

See Also:
Serialized Form

Constructor Summary
Comment()
           
 
Method Summary
 String getBody()
           
 String getBodyHtml()
           
 String getBodyText()
           
 Date getCreatedAt()
           
 long getId()
           
 Date getUpdatedAt()
           
 String getUrl()
           
 User getUser()
           
 Comment setBody(String body)
           
 Comment setBodyHtml(String bodyHtml)
           
 Comment setBodyText(String bodyText)
           
 Comment setCreatedAt(Date createdAt)
           
 Comment setId(long id)
           
 Comment setUpdatedAt(Date updatedAt)
           
 Comment setUrl(String url)
           
 Comment setUser(User user)
           
 
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

getCreatedAt

public Date getCreatedAt()
Returns:
createdAt

setCreatedAt

public Comment setCreatedAt(Date createdAt)
Parameters:
createdAt -
Returns:
this comment

getUpdatedAt

public Date getUpdatedAt()
Returns:
updatedAt

setUpdatedAt

public Comment setUpdatedAt(Date updatedAt)
Parameters:
updatedAt -
Returns:
this comment

getBody

public String getBody()
Returns:
body

setBody

public Comment setBody(String body)
Parameters:
body -
Returns:
this comment

getBodyHtml

public String getBodyHtml()
Returns:
bodyHtml

setBodyHtml

public Comment setBodyHtml(String bodyHtml)
Parameters:
bodyHtml -
Returns:
this comment

getBodyText

public String getBodyText()
Returns:
bodyText

setBodyText

public Comment setBodyText(String bodyText)
Parameters:
bodyText -
Returns:
this comment

getId

public long getId()
Returns:
id

setId

public Comment setId(long id)
Parameters:
id -
Returns:
this comment

getUrl

public String getUrl()
Returns:
url

setUrl

public Comment setUrl(String url)
Parameters:
url -
Returns:
this comment

getUser

public User getUser()
Returns:
user

setUser

public Comment setUser(User user)
Parameters:
user -
Returns:
this comment


Copyright © 2012. All Rights Reserved.