Class AnnotationField
- java.lang.Object
-
- org.xwiki.annotation.rest.model.jaxb.AnnotationField
-
public class AnnotationField extends Object
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>
-
-
Constructor Summary
Constructors Constructor Description AnnotationField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Method Detail
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value
- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
withValue
public AnnotationField withValue(String value)
-
withName
public AnnotationField withName(String value)
-
-