|
||||||||||
| 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
org.xwiki.annotation.rest.model.jaxb.AnnotationUpdateRequest
org.xwiki.annotation.rest.model.jaxb.AnnotationAddRequest
public class AnnotationAddRequest
Extends the annotation update request by adding the set of 'special' fields for annotation selection.
Java class for AnnotationAddRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AnnotationAddRequest">
<complexContent>
<extension base="{http://www.xwiki.org}AnnotationUpdateRequest">
<sequence>
<element name="selection" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="selectionOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="selectionContext" type="{http://www.w3.org/2001/XMLSchema}string"/>
</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 java.lang.String |
selection
|
protected java.lang.String |
selectionContext
|
protected int |
selectionOffset
|
| Fields inherited from class org.xwiki.annotation.rest.model.jaxb.AnnotationUpdateRequest |
|---|
annotation |
| Fields inherited from class org.xwiki.annotation.rest.model.jaxb.AnnotationRequest |
|---|
filter, request |
| Constructor Summary | |
|---|---|
AnnotationAddRequest()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getSelection()
Gets the value of the selection property. |
java.lang.String |
getSelectionContext()
Gets the value of the selectionContext property. |
int |
getSelectionOffset()
Gets the value of the selectionOffset property. |
void |
setSelection(java.lang.String value)
Sets the value of the selection property. |
void |
setSelectionContext(java.lang.String value)
Sets the value of the selectionContext property. |
void |
setSelectionOffset(int value)
Sets the value of the selectionOffset property. |
AnnotationAddRequest |
withAnnotation(AnnotationFieldCollection value)
|
AnnotationAddRequest |
withFilter(AnnotationFieldCollection value)
|
AnnotationAddRequest |
withRequest(AnnotationRequest.Request value)
|
AnnotationAddRequest |
withSelection(java.lang.String value)
|
AnnotationAddRequest |
withSelectionContext(java.lang.String value)
|
AnnotationAddRequest |
withSelectionOffset(int value)
|
| Methods inherited from class org.xwiki.annotation.rest.model.jaxb.AnnotationUpdateRequest |
|---|
getAnnotation, setAnnotation |
| 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 |
|---|
protected java.lang.String selection
protected int selectionOffset
protected java.lang.String selectionContext
| Constructor Detail |
|---|
public AnnotationAddRequest()
| Method Detail |
|---|
public java.lang.String getSelection()
Stringpublic void setSelection(java.lang.String value)
value - allowed object is
Stringpublic int getSelectionOffset()
public void setSelectionOffset(int value)
public java.lang.String getSelectionContext()
Stringpublic void setSelectionContext(java.lang.String value)
value - allowed object is
Stringpublic AnnotationAddRequest withSelection(java.lang.String value)
public AnnotationAddRequest withSelectionOffset(int value)
public AnnotationAddRequest withSelectionContext(java.lang.String value)
public AnnotationAddRequest withAnnotation(AnnotationFieldCollection value)
withAnnotation in class AnnotationUpdateRequestpublic AnnotationAddRequest withRequest(AnnotationRequest.Request value)
withRequest in class AnnotationUpdateRequestpublic AnnotationAddRequest withFilter(AnnotationFieldCollection value)
withFilter in class AnnotationUpdateRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||