Class Index

java.lang.Object
com.genologics.ri.Index
All Implemented Interfaces:
Batch<Link>, Serializable, Iterable<Link>

public class Index extends Object implements Batch<Link>, Serializable
Index is the entry point to a supported version of the API, providing a list of links to the available resources in that version in the system.
See Also:
  • Field Details

  • Constructor Details

    • Index

      public Index()
      Default constructor.
  • Method Details

    • getLinks

      public List<Link> getLinks()
      Gets the list of links in this index.
      Returns:
      The list of links.
    • getList

      public List<Link> getList()
      Gets the list of links for the Batch interface.
      Specified by:
      getList in interface Batch<Link>
      Returns:
      The list of links.
    • getSize

      public int getSize()
      Gets the number of links in this index.
      Specified by:
      getSize in interface Batch<Link>
      Returns:
      The number of links.