Class Entries
java.lang.Object
org.xwiki.rest.model.jaxb.LinkCollection
org.xwiki.livedata.rest.model.jaxb.Entries
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>
-
Field Summary
FieldsFields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCount()
Gets the value of the count property.Gets the value of the entries property.getLimit()
Gets the value of the limit property.Gets the value of the offset property.void
Sets the value of the count property.void
Sets the value of the limit property.void
Sets the value of the offset property.withEntries
(Collection<Entry> values) withEntries
(Entry... values) withOffset
(Long value) Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks, withLinks, withLinks
-
Field Details
-
entries
-
count
-
offset
-
limit
-
-
Constructor Details
-
Entries
public Entries()
-
-
Method Details
-
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
Gets the value of the count property.- Returns:
- possible object is
Long
-
setCount
Sets the value of the count property.- Parameters:
value
- allowed object isLong
-
getOffset
Gets the value of the offset property.- Returns:
- possible object is
Long
-
setOffset
Sets the value of the offset property.- Parameters:
value
- allowed object isLong
-
getLimit
Gets the value of the limit property.- Returns:
- possible object is
Integer
-
setLimit
Sets the value of the limit property.- Parameters:
value
- allowed object isInteger
-
withEntries
-
withEntries
-
withCount
-
withOffset
-
withLimit
-