Class Entries
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.livedata.rest.model.jaxb.Entries
-
public class Entries extends LinkCollection
Java class for Entries complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Entries"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <sequence> <element name="entry" type="{http://www.xwiki.org/liveData}Entry" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}long" /> <attribute name="offset" type="{http://www.w3.org/2001/XMLSchema}long" /> <attribute name="limit" type="{http://www.w3.org/2001/XMLSchema}int" /> </extension> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Entries()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getCount()
Gets the value of the count property.List<Entry>
getEntries()
Gets the value of the entries property.Integer
getLimit()
Gets the value of the limit property.Long
getOffset()
Gets the value of the offset property.void
setCount(Long value)
Sets the value of the count property.void
setLimit(Integer value)
Sets the value of the limit property.void
setOffset(Long value)
Sets the value of the offset property.Entries
withCount(Long value)
Entries
withEntries(Collection<Entry> values)
Entries
withEntries(Entry... values)
Entries
withLimit(Integer value)
Entries
withOffset(Long value)
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks, withLinks, withLinks
-
-
-
-
Method Detail
-
getEntries
public List<Entry> getEntries()
Gets the value of the entries 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 entries property.For example, to add a new item, do as follows:
getEntries().add(newItem);
Objects of the following type(s) are allowed in the list
Entry
-
getCount
public Long getCount()
Gets the value of the count property.- Returns:
- possible object is
Long
-
setCount
public void setCount(Long value)
Sets the value of the count property.- Parameters:
value
- allowed object isLong
-
getOffset
public Long getOffset()
Gets the value of the offset property.- Returns:
- possible object is
Long
-
setOffset
public void setOffset(Long value)
Sets the value of the offset property.- Parameters:
value
- allowed object isLong
-
getLimit
public Integer getLimit()
Gets the value of the limit property.- Returns:
- possible object is
Integer
-
setLimit
public void setLimit(Integer value)
Sets the value of the limit property.- Parameters:
value
- allowed object isInteger
-
withEntries
public Entries withEntries(Collection<Entry> values)
-
-