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

java.lang.Object
  extended by org.xwiki.annotation.rest.model.jaxb.AnnotationField

public class AnnotationField
extends java.lang.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  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

value

protected java.lang.String value

name

protected java.lang.String name
Constructor Detail

AnnotationField

public AnnotationField()
Method Detail

getValue

public java.lang.String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(java.lang.String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

withValue

public AnnotationField withValue(java.lang.String value)

withName

public AnnotationField withName(java.lang.String value)


Copyright © 2004-2011 XWiki. All Rights Reserved.