Class AddressSlice

All Implemented Interfaces:
Serializable

public class AddressSlice extends JsonSliceDto<Address>
The type Address slice.
See Also:
  • Field Details

  • Constructor Details

    • AddressSlice

      public AddressSlice(List<? extends Address> content, int number, int size, boolean hasNext)
      Instantiates a new Address slice.
      Parameters:
      content - the content
      number - the number
      size - the size
      hasNext - the has next
    • AddressSlice

      public AddressSlice(List<? extends Address> content, int number, int size, boolean hasNext, SortOrder sort)
      Instantiates a new Address slice.
      Parameters:
      content - the content
      number - the number
      size - the size
      hasNext - the has next
      sort - the sort
    • AddressSlice

      public AddressSlice(List<? extends Address> content, int number, int size, boolean hasNext, org.springframework.data.domain.Sort sort)
      Instantiates a new Address slice.
      Parameters:
      content - the content
      number - the number
      size - the size
      hasNext - the has next
      sort - the sort
    • AddressSlice

      public AddressSlice(org.springframework.data.domain.Slice<? extends Address> slice)
      Instantiates a new Address slice.
      Parameters:
      slice - the slice
  • Method Details

    • setContent

      protected void setContent(List<Address> arg0)
    • isContentPresent

      public boolean isContentPresent()
    • setContentPresent

      protected void setContentPresent(boolean arg0)
    • getSort

      public SortOrder getSort()
    • getNumberOfElements

      public int getNumberOfElements()
    • setNumberOfElements

      protected void setNumberOfElements(int arg0)
    • isFirst

      public boolean isFirst()
    • setFirst

      protected void setFirst(boolean arg0)
    • isLast

      public boolean isLast()
    • setLast

      protected void setLast(boolean arg0)
    • isPreviousAvailable

      public boolean isPreviousAvailable()
    • setPreviousAvailable

      protected void setPreviousAvailable(boolean arg0)
    • getPageable

      public org.springframework.data.domain.Pageable getPageable()
    • toSlice

      public org.springframework.data.domain.Slice<Address> toSlice()
    • setSort

      protected void setSort(SortOrder arg0)