Class AnnotationResponse


  • public class AnnotationResponse
    extends Object
    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 Detail

      • responseCode

        protected int responseCode
      • responseMessage

        protected String responseMessage
    • Constructor Detail

      • AnnotationResponse

        public AnnotationResponse()
    • Method Detail

      • getResponseCode

        public int getResponseCode()
        Gets the value of the responseCode property.
      • setResponseCode

        public void setResponseCode​(int value)
        Sets the value of the responseCode property.
      • getResponseMessage

        public String getResponseMessage()
        Gets the value of the responseMessage property.
        Returns:
        possible object is String
      • setResponseMessage

        public void setResponseMessage​(String value)
        Sets the value of the responseMessage property.
        Parameters:
        value - allowed object is String
      • getAnnotatedContent

        public AnnotatedContent getAnnotatedContent()
        Gets the value of the annotatedContent property.
        Returns:
        possible object is AnnotatedContent
      • setAnnotatedContent

        public void setAnnotatedContent​(AnnotatedContent value)
        Sets the value of the annotatedContent property.
        Parameters:
        value - allowed object is AnnotatedContent