Package org.xwiki.rest.model.jaxb
Class Spaces
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.Spaces
-
public class Spaces 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="space" type="{http://www.xwiki.org}Space" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Space>
spaces
-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description Spaces()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Space>
getSpaces()
Gets the value of the spaces property.Spaces
withLinks(Collection<Link> values)
Spaces
withLinks(Link... values)
Spaces
withSpaces(Collection<Space> values)
Spaces
withSpaces(Space... values)
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
Method Detail
-
getSpaces
public List<Space> getSpaces()
Gets the value of the spaces 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 spaces property.For example, to add a new item, do as follows:
getSpaces().add(newItem);
Objects of the following type(s) are allowed in the list
Space
-
withSpaces
public Spaces withSpaces(Collection<Space> values)
-
withLinks
public Spaces withLinks(Link... values)
- Overrides:
withLinks
in classLinkCollection
-
withLinks
public Spaces withLinks(Collection<Link> values)
- Overrides:
withLinks
in classLinkCollection
-
-