org.xwiki.rest.model.jaxb
Class Properties

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

public class Properties
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="property" type="{http://www.xwiki.org}Property" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Property> properties
           
 
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
 
Constructor Summary
Properties()
           
 
Method Summary
 List<Property> getProperties()
          Gets the value of the properties property.
 Properties withLinks(Collection<Link> values)
           
 Properties withLinks(Link... values)
           
 Properties withProperties(Collection<Property> values)
           
 Properties withProperties(Property... 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

properties

protected List<Property> properties
Constructor Detail

Properties

public Properties()
Method Detail

getProperties

public List<Property> getProperties()
Gets the value of the properties 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 properties property.

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

    getProperties().add(newItem);
 

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


withProperties

public Properties withProperties(Property... values)

withProperties

public Properties withProperties(Collection<Property> values)

withLinks

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

withLinks

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