org.xwiki.rest.model.jaxb
Class Attribute

java.lang.Object
  extended by org.xwiki.rest.model.jaxb.LinkCollection
      extended by org.xwiki.rest.model.jaxb.Attribute

public class Attribute
extends LinkCollection

Java class for Attribute complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Attribute">
   <complexContent>
     <extension base="{http://www.xwiki.org}LinkCollection">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String name
           
protected  java.lang.String value
           
 
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
 
Constructor Summary
Attribute()
           
 
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.
 Attribute withLinks(java.util.Collection<Link> values)
           
 Attribute withLinks(Link... values)
           
 Attribute withName(java.lang.String value)
           
 Attribute withValue(java.lang.String value)
           
 
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

value

protected java.lang.String value
Constructor Detail

Attribute

public Attribute()
Method Detail

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

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

withName

public Attribute withName(java.lang.String value)

withValue

public Attribute withValue(java.lang.String value)

withLinks

public Attribute withLinks(Link... values)
Overrides:
withLinks in class LinkCollection

withLinks

public Attribute withLinks(java.util.Collection<Link> values)
Overrides:
withLinks in class LinkCollection


Copyright © 2004-2009 XWiki. All Rights Reserved.