|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.annotation.rest.model.jaxb.AnnotationField
public class AnnotationField
Stores an extra field (any field besides the required ones) for an annotation, as a simple string element, with the name of the extra field in an attribute.
Java class for AnnotationField complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AnnotationField">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.String |
name
|
protected java.lang.String |
value
|
| Constructor Summary | |
|---|---|
AnnotationField()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Gets the value of the name property. |
java.lang.String |
getValue()
Gets the value of the value property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
void |
setValue(java.lang.String value)
Sets the value of the value property. |
AnnotationField |
withName(java.lang.String value)
|
AnnotationField |
withValue(java.lang.String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String value
protected java.lang.String name
| Constructor Detail |
|---|
public AnnotationField()
| Method Detail |
|---|
public java.lang.String getValue()
Stringpublic void setValue(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic AnnotationField withValue(java.lang.String value)
public AnnotationField withName(java.lang.String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||