org.xwiki.annotation.rest.model.jaxb
Class AnnotationField

java.lang.Object
  extended by 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>
 


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

value

protected String value

name

protected String name
Constructor Detail

AnnotationField

public AnnotationField()
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 is String

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 is String

withValue

public AnnotationField withValue(String value)

withName

public AnnotationField withName(String value)


Copyright © 2004-2012 XWiki. All Rights Reserved.