org.exoplatform.wiki.service.rest.model
Class Comment

java.lang.Object
  extended by org.exoplatform.wiki.service.rest.model.LinkCollection
      extended by org.exoplatform.wiki.service.rest.model.Comment

public class Comment
extends LinkCollection

Java class for Comment complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Comment">
   <complexContent>
     <extension base="{http://www.xwiki.org}LinkCollection">
       <sequence>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="pageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="author" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="highlight" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="replyTo" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String author
           
protected  Calendar date
           
protected  String highlight
           
protected  int id
           
protected  String pageId
           
protected  Integer replyTo
           
protected  String text
           
 
Fields inherited from class org.exoplatform.wiki.service.rest.model.LinkCollection
links
 
Constructor Summary
Comment()
           
 
Method Summary
 String getAuthor()
          Gets the value of the author property.
 Calendar getDate()
          Gets the value of the date property.
 String getHighlight()
          Gets the value of the highlight property.
 int getId()
          Gets the value of the id property.
 String getPageId()
          Gets the value of the pageId property.
 Integer getReplyTo()
          Gets the value of the replyTo property.
 String getText()
          Gets the value of the text property.
 void setAuthor(String value)
          Sets the value of the author property.
 void setDate(Calendar value)
          Sets the value of the date property.
 void setHighlight(String value)
          Sets the value of the highlight property.
 void setId(int value)
          Sets the value of the id property.
 void setPageId(String value)
          Sets the value of the pageId property.
 void setReplyTo(Integer value)
          Sets the value of the replyTo property.
 void setText(String value)
          Sets the value of the text property.
 
Methods inherited from class org.exoplatform.wiki.service.rest.model.LinkCollection
getLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected int id

pageId

protected String pageId

author

protected String author

date

protected Calendar date

highlight

protected String highlight

text

protected String text

replyTo

protected Integer replyTo
Constructor Detail

Comment

public Comment()
Method Detail

getId

public int getId()
Gets the value of the id property.


setId

public void setId(int value)
Sets the value of the id property.


getPageId

public String getPageId()
Gets the value of the pageId property.

Returns:
possible object is String

setPageId

public void setPageId(String value)
Sets the value of the pageId property.

Parameters:
value - allowed object is String

getAuthor

public String getAuthor()
Gets the value of the author property.

Returns:
possible object is String

setAuthor

public void setAuthor(String value)
Sets the value of the author property.

Parameters:
value - allowed object is String

getDate

public Calendar getDate()
Gets the value of the date property.

Returns:
possible object is String

setDate

public void setDate(Calendar value)
Sets the value of the date property.

Parameters:
value - allowed object is String

getHighlight

public String getHighlight()
Gets the value of the highlight property.

Returns:
possible object is String

setHighlight

public void setHighlight(String value)
Sets the value of the highlight property.

Parameters:
value - allowed object is String

getText

public String getText()
Gets the value of the text property.

Returns:
possible object is String

setText

public void setText(String value)
Sets the value of the text property.

Parameters:
value - allowed object is String

getReplyTo

public Integer getReplyTo()
Gets the value of the replyTo property.

Returns:
possible object is Integer

setReplyTo

public void setReplyTo(Integer value)
Sets the value of the replyTo property.

Parameters:
value - allowed object is Integer


Copyright © 2013 eXo Platform SAS. All Rights Reserved.