Class AnnotationRequest.Request
- java.lang.Object
-
- org.xwiki.annotation.rest.model.jaxb.AnnotationRequest.Request
-
- Enclosing class:
- AnnotationRequest
public static class AnnotationRequest.Request extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="fields" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Request()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getFields()
Gets the value of the fields property.AnnotationRequest.Request
withFields(String... values)
AnnotationRequest.Request
withFields(Collection<String> values)
-
-
-
Method Detail
-
getFields
public List<String> getFields()
Gets the value of the fields property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the fields property.For example, to add a new item, do as follows:
getFields().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
withFields
public AnnotationRequest.Request withFields(String... values)
-
withFields
public AnnotationRequest.Request withFields(Collection<String> values)
-
-