Interface PageableCollection<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addLink​(org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2 link)
      Adds the link.
      java.lang.Integer getCount()
      Gets the total number of records in the current response.
      java.lang.Boolean getHasMore()
      Returns true if collection has more
      java.util.List<T> getItems()  
      java.lang.Integer getLimit()
      Gets the limit.
      java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> getLinks()
      Gets the links.
      java.lang.Integer getOffset()
      Gets the offset.
      void setCount​(java.lang.Integer count)
      Sets the count.
      void setHasMore​(java.lang.Boolean hasMore)
      Sets hasMore
      void setItems​(java.util.List<T> items)  
      void setLimit​(java.lang.Integer limit)
      Sets the limit.
      void setLinks​(java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
      Sets the links.
      void setOffset​(java.lang.Integer offset)
      Sets the offset.
    • Method Detail

      • getItems

        java.util.List<T> getItems()
      • setItems

        void setItems​(java.util.List<T> items)
      • setHasMore

        void setHasMore​(java.lang.Boolean hasMore)
        Sets hasMore
        Parameters:
        hasMore - the new checks for more
      • getHasMore

        java.lang.Boolean getHasMore()
        Returns true if collection has more
        Returns:
        the checks for more
      • getCount

        java.lang.Integer getCount()
        Gets the total number of records in the current response.
        Returns:
        the count
      • setCount

        void setCount​(java.lang.Integer count)
        Sets the count.
        Parameters:
        count - the new count
      • getLimit

        java.lang.Integer getLimit()
        Gets the limit.
        Returns:
        the limit
      • setLimit

        void setLimit​(java.lang.Integer limit)
        Sets the limit.
        Parameters:
        limit - the new limit
      • setOffset

        void setOffset​(java.lang.Integer offset)
        Sets the offset.
        Parameters:
        offset - the new offset
      • getOffset

        java.lang.Integer getOffset()
        Gets the offset.
        Returns:
        the offset
      • getLinks

        java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> getLinks()
        Gets the links.
        Returns:
        the links
      • setLinks

        void setLinks​(java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
        Sets the links.
        Parameters:
        links - the new links
      • addLink

        void addLink​(org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2 link)
        Adds the link.
        Parameters:
        link - the link