Class AnimalSlice

java.lang.Object
org.bremersee.pagebuilder.model.AbstractSliceDto<Animal>
org.bremersee.pagebuilder.testmodel.AnimalSlice
All Implemented Interfaces:
Serializable

public class AnimalSlice extends AbstractSliceDto<Animal>
The type Animal slice.
See Also:
  • Field Details

  • Constructor Details

    • AnimalSlice

      protected AnimalSlice()
      Instantiates a new Animal slice.
    • AnimalSlice

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

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

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

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

    • getContent

      public List<Animal> getContent()
    • setContent

      protected void setContent(List<Animal> 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<Animal> toSlice()
    • setSort

      protected void setSort(SortOrder arg0)