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>
 
  • Field Details

    • entries

      protected List<Entry> entries
    • count

      protected Long count
    • offset

      protected Long offset
    • limit

      protected Integer limit
  • Constructor Details

    • Entries

      public Entries()
  • Method Details

    • 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 is Long
    • 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 is Long
    • 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 is Integer
    • withEntries

      public Entries withEntries(Entry... values)
    • withEntries

      public Entries withEntries(Collection<Entry> values)
    • withCount

      public Entries withCount(Long value)
    • withOffset

      public Entries withOffset(Long value)
    • withLimit

      public Entries withLimit(Integer value)