|
|||||||||
| 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 String |
name
|
protected String |
value
|
| Constructor Summary | |
|---|---|
AnnotationField()
|
|
| Method Summary | |
|---|---|
String |
getName()
Gets the value of the name property. |
String |
getValue()
Gets the value of the value property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setValue(String value)
Sets the value of the value property. |
AnnotationField |
withName(String value)
|
AnnotationField |
withValue(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String value
protected String name
| Constructor Detail |
|---|
public AnnotationField()
| Method Detail |
|---|
public String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic AnnotationField withValue(String value)
public AnnotationField withName(String value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||