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