Package net.avalara.avatax.rest.client
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
All Methods Instance Methods Concrete Methods 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()
-
-
-
Constructor Detail
-
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 countnewlist
- The new value
-
-
Method Detail
-
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 classjava.lang.Object
-
-