Class FetchResult<T>

java.lang.Object
net.avalara.avatax.rest.client.FetchResult<T>

public class FetchResult<T>
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    FetchResult()  
    FetchResult​(int originalRowCount, java.util.List<T> newlist)
    Construct this from a different FetchResult, but maintain the count
  • Method Summary

    Modifier and Type Method Description
    int getCount()  
    java.lang.String getNextLink()  
    java.util.List<T> getValue()  
    void setCount​(int count)  
    void setNextLink​(java.lang.String nextLink)  
    void setValue​(java.util.List<T> value)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FetchResult

      public FetchResult()
    • FetchResult

      public FetchResult​(int originalRowCount, java.util.List<T> newlist)
      Construct this from a different FetchResult, but maintain the count
      Parameters:
      originalRowCount - The original row count
      newlist - The new value
  • Method Details

    • getCount

      public int getCount()
    • setCount

      public void setCount​(int count)
    • getValue

      public java.util.List<T> getValue()
    • setValue

      public void setValue​(java.util.List<T> value)
    • getNextLink

      public java.lang.String getNextLink()
    • setNextLink

      public void setNextLink​(java.lang.String nextLink)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object