Package org.xwiki.rest.model.jaxb
Class Objects
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.Objects
-
public class Objects extends LinkCollection
Java class for Objects complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Objects"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <sequence> <element name="objectSummary" type="{http://www.xwiki.org}ObjectSummary" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ObjectSummary>
objectSummaries
-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description Objects()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ObjectSummary>
getObjectSummaries()
Gets the value of the objectSummaries property.Objects
withLinks(Collection<Link> values)
Objects
withLinks(Link... values)
Objects
withObjectSummaries(Collection<ObjectSummary> values)
Objects
withObjectSummaries(ObjectSummary... values)
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
Field Detail
-
objectSummaries
protected List<ObjectSummary> objectSummaries
-
-
Method Detail
-
getObjectSummaries
public List<ObjectSummary> getObjectSummaries()
Gets the value of the objectSummaries 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 objectSummaries property.For example, to add a new item, do as follows:
getObjectSummaries().add(newItem);
Objects of the following type(s) are allowed in the list
ObjectSummary
-
withObjectSummaries
public Objects withObjectSummaries(ObjectSummary... values)
-
withObjectSummaries
public Objects withObjectSummaries(Collection<ObjectSummary> values)
-
withLinks
public Objects withLinks(Link... values)
- Overrides:
withLinks
in classLinkCollection
-
withLinks
public Objects withLinks(Collection<Link> values)
- Overrides:
withLinks
in classLinkCollection
-
-