Package org.xwiki.rest.model.jaxb
Class Comment
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.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="authorName" 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
Fields Modifier and Type Field Description protected Stringauthorprotected StringauthorNameprotected Calendardateprotected Stringhighlightprotected intidprotected StringpageIdprotected IntegerreplyToprotected Stringtext-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description Comment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthor()Gets the value of the author property.StringgetAuthorName()Gets the value of the authorName property.CalendargetDate()Gets the value of the date property.StringgetHighlight()Gets the value of the highlight property.intgetId()Gets the value of the id property.StringgetPageId()Gets the value of the pageId property.IntegergetReplyTo()Gets the value of the replyTo property.StringgetText()Gets the value of the text property.voidsetAuthor(String value)Sets the value of the author property.voidsetAuthorName(String value)Sets the value of the authorName property.voidsetDate(Calendar value)Sets the value of the date property.voidsetHighlight(String value)Sets the value of the highlight property.voidsetId(int value)Sets the value of the id property.voidsetPageId(String value)Sets the value of the pageId property.voidsetReplyTo(Integer value)Sets the value of the replyTo property.voidsetText(String value)Sets the value of the text property.CommentwithAuthor(String value)CommentwithAuthorName(String value)CommentwithDate(Calendar value)CommentwithHighlight(String value)CommentwithId(int value)CommentwithLinks(Collection<Link> values)CommentwithLinks(Link... values)CommentwithPageId(String value)CommentwithReplyTo(Integer value)CommentwithText(String value)-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
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 isString
-
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 isString
-
getAuthorName
public String getAuthorName()
Gets the value of the authorName property.- Returns:
- possible object is
String
-
setAuthorName
public void setAuthorName(String value)
Sets the value of the authorName property.- Parameters:
value- allowed object isString
-
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 isString
-
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 isString
-
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 isString
-
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 isInteger
-
withId
public Comment withId(int value)
-
withLinks
public Comment withLinks(Link... values)
- Overrides:
withLinksin classLinkCollection
-
withLinks
public Comment withLinks(Collection<Link> values)
- Overrides:
withLinksin classLinkCollection
-
-