org.xwiki.annotation.rest.model.jaxb
Class AnnotationUpdateRequest

java.lang.Object
  extended by org.xwiki.annotation.rest.model.jaxb.AnnotationRequest
      extended by org.xwiki.annotation.rest.model.jaxb.AnnotationUpdateRequest
Direct Known Subclasses:
AnnotationAddRequest

public class AnnotationUpdateRequest
extends AnnotationRequest

Stores a request for an annotation to be updated: besides the annotation request components, a collection of fields for the annotation.

Java class for AnnotationUpdateRequest complex type.

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

 <complexType name="AnnotationUpdateRequest">
   <complexContent>
     <extension base="{http://www.xwiki.org}AnnotationRequest">
       <sequence>
         <element name="annotation" type="{http://www.xwiki.org}AnnotationFieldCollection"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.xwiki.annotation.rest.model.jaxb.AnnotationRequest
AnnotationRequest.Request
 
Field Summary
protected  AnnotationFieldCollection annotation
           
 
Fields inherited from class org.xwiki.annotation.rest.model.jaxb.AnnotationRequest
filter, request
 
Constructor Summary
AnnotationUpdateRequest()
           
 
Method Summary
 AnnotationFieldCollection getAnnotation()
          Gets the value of the annotation property.
 void setAnnotation(AnnotationFieldCollection value)
          Sets the value of the annotation property.
 AnnotationUpdateRequest withAnnotation(AnnotationFieldCollection value)
           
 AnnotationUpdateRequest withFilter(AnnotationFieldCollection value)
           
 AnnotationUpdateRequest withRequest(AnnotationRequest.Request value)
           
 
Methods inherited from class org.xwiki.annotation.rest.model.jaxb.AnnotationRequest
getFilter, getRequest, setFilter, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotation

protected AnnotationFieldCollection annotation
Constructor Detail

AnnotationUpdateRequest

public AnnotationUpdateRequest()
Method Detail

getAnnotation

public AnnotationFieldCollection getAnnotation()
Gets the value of the annotation property.

Returns:
possible object is AnnotationFieldCollection

setAnnotation

public void setAnnotation(AnnotationFieldCollection value)
Sets the value of the annotation property.

Parameters:
value - allowed object is AnnotationFieldCollection

withAnnotation

public AnnotationUpdateRequest withAnnotation(AnnotationFieldCollection value)

withRequest

public AnnotationUpdateRequest withRequest(AnnotationRequest.Request value)
Overrides:
withRequest in class AnnotationRequest

withFilter

public AnnotationUpdateRequest withFilter(AnnotationFieldCollection value)
Overrides:
withFilter in class AnnotationRequest


Copyright © 2004-2011 XWiki. All Rights Reserved.