|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.rest.model.jaxb.LinkCollection
org.xwiki.rest.model.jaxb.Comment
public class Comment
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.xwiki.rest.model.jaxb.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. |
Comment |
withAuthor(String value)
|
Comment |
withDate(Calendar value)
|
Comment |
withHighlight(String value)
|
Comment |
withId(int value)
|
Comment |
withLinks(Collection<Link> values)
|
Comment |
withLinks(Link... values)
|
Comment |
withPageId(String value)
|
Comment |
withReplyTo(Integer value)
|
Comment |
withText(String value)
|
| Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection |
|---|
getLinks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int id
protected String pageId
protected String author
protected Calendar date
protected String highlight
protected String text
protected Integer replyTo
| Constructor Detail |
|---|
public Comment()
| Method Detail |
|---|
public int getId()
public void setId(int value)
public String getPageId()
Stringpublic void setPageId(String value)
value - allowed object is
Stringpublic String getAuthor()
Stringpublic void setAuthor(String value)
value - allowed object is
Stringpublic Calendar getDate()
Stringpublic void setDate(Calendar value)
value - allowed object is
Stringpublic String getHighlight()
Stringpublic void setHighlight(String value)
value - allowed object is
Stringpublic String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic Integer getReplyTo()
Integerpublic void setReplyTo(Integer value)
value - allowed object is
Integerpublic Comment withId(int value)
public Comment withPageId(String value)
public Comment withAuthor(String value)
public Comment withDate(Calendar value)
public Comment withHighlight(String value)
public Comment withText(String value)
public Comment withReplyTo(Integer value)
public Comment withLinks(Link... values)
withLinks in class LinkCollectionpublic Comment withLinks(Collection<Link> values)
withLinks in class LinkCollection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||