org.xwiki.rest.model.jaxb
Class Tags

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

public class Tags
extends LinkCollection

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <extension base="{http://www.xwiki.org}LinkCollection">
       <sequence>
         <element name="tag" type="{http://www.xwiki.org}Tag" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Tag> tags
           
 
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
 
Constructor Summary
Tags()
           
 
Method Summary
 List<Tag> getTags()
          Gets the value of the tags property.
 Tags withLinks(Collection<Link> values)
           
 Tags withLinks(Link... values)
           
 Tags withTags(Collection<Tag> values)
           
 Tags withTags(Tag... values)
           
 
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

tags

protected List<Tag> tags
Constructor Detail

Tags

public Tags()
Method Detail

getTags

public List<Tag> getTags()
Gets the value of the tags property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the tags property.

For example, to add a new item, do as follows:

    getTags().add(newItem);
 

Objects of the following type(s) are allowed in the list Tag


withTags

public Tags withTags(Tag... values)

withTags

public Tags withTags(Collection<Tag> values)

withLinks

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

withLinks

public Tags withLinks(Collection<Link> values)
Overrides:
withLinks in class LinkCollection


Copyright © 2004-2012 XWiki. All Rights Reserved.