Class ResourceList<Type extends IridaRepresentationModel>

  • Type Parameters:
    Type - The type of object being held in this list

    public class ResourceList<Type extends IridaRepresentationModel>
    extends IridaRepresentationModel
    Class to hold a list of resources when being read from a remote Irida API
    • Constructor Detail

      • ResourceList

        public ResourceList()
    • Method Detail

      • setResources

        public void setResources​(java.util.List<Type> resources)
        Set the list of resources
        Parameters:
        resources - the IridaRepresentationModel collection.
      • getTotalResources

        public java.lang.Long getTotalResources()
        Get the total number of resources in this list
        Returns:
        the total number of IridaRepresentationModel in the collection.
      • setTotalResources

        public void setTotalResources​(java.lang.Long totalResources)
        Set the total number of resources
        Parameters:
        totalResources - the total number of IridaRepresentationModel in the collection.