Class AnnotationUpdateRequest
- java.lang.Object
-
- org.xwiki.annotation.rest.model.jaxb.AnnotationRequest
-
- 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
Fields Modifier and Type Field Description protected AnnotationFieldCollection
annotation
-
Fields inherited from class org.xwiki.annotation.rest.model.jaxb.AnnotationRequest
filter, request
-
-
Constructor Summary
Constructors Constructor Description AnnotationUpdateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
annotation
protected AnnotationFieldCollection annotation
-
-
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 isAnnotationFieldCollection
-
withAnnotation
public AnnotationUpdateRequest withAnnotation(AnnotationFieldCollection value)
-
withRequest
public AnnotationUpdateRequest withRequest(AnnotationRequest.Request value)
- Overrides:
withRequest
in classAnnotationRequest
-
withFilter
public AnnotationUpdateRequest withFilter(AnnotationFieldCollection value)
- Overrides:
withFilter
in classAnnotationRequest
-
-