|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.annotation.rest.model.jaxb.AnnotationRequest
public class AnnotationRequest
Stores the information about an annotations request: what annotations should be returned with the annotated content and the annotations stubs. Such information are the annotations filter (which annotations should be displayed) and the annotation additional fields that should be added in the stubs.
Java class for AnnotationRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AnnotationRequest">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="request" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="field" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="filter" type="{http://www.xwiki.org}AnnotationFieldCollection" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Nested Class Summary | |
|---|---|
static class |
AnnotationRequest.Request
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected AnnotationFieldCollection |
filter
|
protected AnnotationRequest.Request |
request
|
| Constructor Summary | |
|---|---|
AnnotationRequest()
|
|
| Method Summary | |
|---|---|
AnnotationFieldCollection |
getFilter()
Gets the value of the filter property. |
AnnotationRequest.Request |
getRequest()
Gets the value of the request property. |
void |
setFilter(AnnotationFieldCollection value)
Sets the value of the filter property. |
void |
setRequest(AnnotationRequest.Request value)
Sets the value of the request property. |
AnnotationRequest |
withFilter(AnnotationFieldCollection value)
|
AnnotationRequest |
withRequest(AnnotationRequest.Request value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AnnotationRequest.Request request
protected AnnotationFieldCollection filter
| Constructor Detail |
|---|
public AnnotationRequest()
| Method Detail |
|---|
public AnnotationRequest.Request getRequest()
AnnotationRequest.Requestpublic void setRequest(AnnotationRequest.Request value)
value - allowed object is
AnnotationRequest.Requestpublic AnnotationFieldCollection getFilter()
AnnotationFieldCollectionpublic void setFilter(AnnotationFieldCollection value)
value - allowed object is
AnnotationFieldCollectionpublic AnnotationRequest withRequest(AnnotationRequest.Request value)
public AnnotationRequest withFilter(AnnotationFieldCollection value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||