Class AbstractSimplePaginatedData<T>
- java.lang.Object
-
- graphql.annotations.connection.simple.AbstractSimplePaginatedData<T>
-
- All Implemented Interfaces:
SimpleConnection<T>,SimplePaginatedData<T>,graphql.relay.Connection<T>,java.lang.Iterable<T>
- Direct Known Subclasses:
SimplePaginatedDataImpl
public abstract class AbstractSimplePaginatedData<T> extends java.lang.Object implements SimplePaginatedData<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractSimplePaginatedData(java.lang.Iterable<T> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<T>getData()Get the list of the entitiesjava.util.Iterator<T>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface graphql.annotations.connection.simple.SimpleConnection
getEdges, getPageInfo, getTotalCount
-
-
-
-
Constructor Detail
-
AbstractSimplePaginatedData
public AbstractSimplePaginatedData(java.lang.Iterable<T> data)
-
-
Method Detail
-
iterator
public java.util.Iterator<T> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<T>
-
getData
public java.util.List<T> getData()
Description copied from interface:SimpleConnectionGet the list of the entities- Specified by:
getDatain interfaceSimpleConnection<T>- Returns:
- List of entities
-
-