java.lang.Object
com.genologics.ri.configuration.Udts
- All Implemented Interfaces:
Batch<UdtConfigLink>,PaginatedBatch<UdtConfigLink>,Serializable,Iterable<UdtConfigLink>
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 Summary
FieldsModifier and TypeFieldDescriptionprotected PageThe link to the next page of results.protected PageThe link to the previous page of results.protected List<UdtConfigLink>The list of user defined type configuration links. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLinks()Gets the list of UDT configuration links.getList()Gets the list of links as required by the PaginatedBatch interface.Gets the link to the next page of results.Gets the link to the previous page of results.intgetSize()Gets the number of UDT configuration links.voidsetNextPage(Page nextPage) Sets the link to the next page of results.voidsetPreviousPage(Page previousPage) Sets the link to the previous page of results.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
udtConfigLinks
The list of user defined type configuration links. -
previousPage
The link to the previous page of results. -
nextPage
The link to the next page of results.
-
-
Constructor Details
-
Udts
public Udts()Constructor for creating an empty Udts object.
-
-
Method Details
-
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
Gets the list of links as required by the PaginatedBatch interface.- Specified by:
getListin interfaceBatch<UdtConfigLink>- Returns:
- The list of UDT configuration links.
-
getSize
public int getSize()Gets the number of UDT configuration links.- Specified by:
getSizein interfaceBatch<UdtConfigLink>- Returns:
- The number of links, or 0 if the list is null.
-
getPreviousPage
Gets the link to the previous page of results.- Specified by:
getPreviousPagein interfacePaginatedBatch<UdtConfigLink>- Returns:
- The previous page link.
-
setPreviousPage
Sets the link to the previous page of results.- Specified by:
setPreviousPagein interfacePaginatedBatch<UdtConfigLink>- Parameters:
previousPage- The previous page link.
-
getNextPage
Gets the link to the next page of results.- Specified by:
getNextPagein interfacePaginatedBatch<UdtConfigLink>- Returns:
- The next page link.
-
setNextPage
Sets the link to the next page of results.- Specified by:
setNextPagein interfacePaginatedBatch<UdtConfigLink>- Parameters:
nextPage- The next page link.
-