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>
Modifier and Type | Field and Description |
---|---|
protected Long |
count |
protected List<Entry> |
entries |
protected Integer |
limit |
protected Long |
offset |
links
Constructor and Description |
---|
Entries() |
Modifier and Type | Method and 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) |
getLinks, withLinks, withLinks
public List<Entry> getEntries()
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
public Long getCount()
Long
public void setCount(Long value)
value
- allowed object is
Long
public Long getOffset()
Long
public void setOffset(Long value)
value
- allowed object is
Long
public Integer getLimit()
Integer
public void setLimit(Integer value)
value
- allowed object is
Integer
public Entries withEntries(Collection<Entry> values)
Copyright © 2004–2022 XWiki. All rights reserved.