|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.annotation.rest.model.jaxb.AnnotationResponse
public class AnnotationResponse
Stores the server response for an annotation request, containing the annotated content requested, a response code and a response message.
Java class for AnnotationResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AnnotationResponse">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="responseCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="responseMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="annotatedContent" type="{http://www.xwiki.org}AnnotatedContent"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected AnnotatedContent |
annotatedContent
|
protected int |
responseCode
|
protected java.lang.String |
responseMessage
|
| Constructor Summary | |
|---|---|
AnnotationResponse()
|
|
| Method Summary | |
|---|---|
AnnotatedContent |
getAnnotatedContent()
Gets the value of the annotatedContent property. |
int |
getResponseCode()
Gets the value of the responseCode property. |
java.lang.String |
getResponseMessage()
Gets the value of the responseMessage property. |
void |
setAnnotatedContent(AnnotatedContent value)
Sets the value of the annotatedContent property. |
void |
setResponseCode(int value)
Sets the value of the responseCode property. |
void |
setResponseMessage(java.lang.String value)
Sets the value of the responseMessage property. |
AnnotationResponse |
withAnnotatedContent(AnnotatedContent value)
|
AnnotationResponse |
withResponseCode(int value)
|
AnnotationResponse |
withResponseMessage(java.lang.String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int responseCode
protected java.lang.String responseMessage
protected AnnotatedContent annotatedContent
| Constructor Detail |
|---|
public AnnotationResponse()
| Method Detail |
|---|
public int getResponseCode()
public void setResponseCode(int value)
public java.lang.String getResponseMessage()
Stringpublic void setResponseMessage(java.lang.String value)
value - allowed object is
Stringpublic AnnotatedContent getAnnotatedContent()
AnnotatedContentpublic void setAnnotatedContent(AnnotatedContent value)
value - allowed object is
AnnotatedContentpublic AnnotationResponse withResponseCode(int value)
public AnnotationResponse withResponseMessage(java.lang.String value)
public AnnotationResponse withAnnotatedContent(AnnotatedContent value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||