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

public class Udts extends Object implements PaginatedBatch<UdtConfigLink>, Serializable
The representation of a list of user defined type 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

    • Udts

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

    • getLinks

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

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

      public int getSize()
      Gets the number of UDT configuration links.
      Specified by:
      getSize in interface Batch<UdtConfigLink>
      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<UdtConfigLink>
      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<UdtConfigLink>
      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<UdtConfigLink>
      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<UdtConfigLink>
      Parameters:
      nextPage - The next page link.