java.lang.Object
com.genologics.ri.configuration.Udfs
All Implemented Interfaces:
Batch<UdfConfigLink>, PaginatedBatch<UdfConfigLink>, Serializable, Iterable<UdfConfigLink>

public class Udfs extends Object implements PaginatedBatch<UdfConfigLink>, Serializable
The representation of a list of user defined field configuration links.

The system enforces a maximum number of elements when generating the list of links. When the size of the request result set is larger than the system maximum, the list represents a paged view of the overall results, and the previous-page and next-page elements provide URIs linking to the previous or next page of links in the overall results.

See Also:
  • Field Details

    • previousPage

      protected Page previousPage
      The link to the previous page of results.
    • nextPage

      protected Page nextPage
      The link to the next page of results.
  • Constructor Details

    • Udfs

      public Udfs()
      Constructor for creating an empty Udfs object.
  • Method Details

    • getLinks

      public List<UdfConfigLink> getLinks()
      Gets the list of UDF configuration links. Creates a new list if one doesn't exist.
      Returns:
      The list of UDF configuration links.
    • getList

      public List<UdfConfigLink> getList()
      Gets the list of links as required by the PaginatedBatch interface.
      Specified by:
      getList in interface Batch<UdfConfigLink>
      Returns:
      The list of UDF configuration links.
    • getSize

      public int getSize()
      Gets the number of UDF configuration links.
      Specified by:
      getSize in interface Batch<UdfConfigLink>
      Returns:
      The number of links, or 0 if the list is null.
    • getPreviousPage

      public Page getPreviousPage()
      Gets the link to the previous page of results.
      Specified by:
      getPreviousPage in interface PaginatedBatch<UdfConfigLink>
      Returns:
      The previous page link.
    • setPreviousPage

      public void setPreviousPage(Page previousPage)
      Sets the link to the previous page of results.
      Specified by:
      setPreviousPage in interface PaginatedBatch<UdfConfigLink>
      Parameters:
      previousPage - The previous page link.
    • getNextPage

      public Page getNextPage()
      Gets the link to the next page of results.
      Specified by:
      getNextPage in interface PaginatedBatch<UdfConfigLink>
      Returns:
      The next page link.
    • setNextPage

      public void setNextPage(Page nextPage)
      Sets the link to the next page of results.
      Specified by:
      setNextPage in interface PaginatedBatch<UdfConfigLink>
      Parameters:
      nextPage - The next page link.