Class Properties
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.livedata.rest.model.jaxb.Properties
-
public class Properties extends LinkCollection
Java class for Properties complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Properties"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <sequence> <element name="property" type="{http://www.xwiki.org/liveData}PropertyDescriptor" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PropertyDescriptor>
properties
-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description Properties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PropertyDescriptor>
getProperties()
Gets the value of the properties property.Properties
withProperties(Collection<PropertyDescriptor> values)
Properties
withProperties(PropertyDescriptor... values)
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks, withLinks, withLinks
-
-
-
-
Field Detail
-
properties
protected List<PropertyDescriptor> properties
-
-
Method Detail
-
getProperties
public List<PropertyDescriptor> 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
PropertyDescriptor
-
withProperties
public Properties withProperties(PropertyDescriptor... values)
-
withProperties
public Properties withProperties(Collection<PropertyDescriptor> values)
-
-